Using PayPal, how can I set the Max Failed Payments variable (i.e. the number of times PayPal will try to charge someone before giving up)?
To manage the existing subscriptions you’ll have to do it from PayPal, but for new ones, you can set that in s2Member’s shortcode using the rra attribute. There are different limitations depending on the PayPal service you’re using, so it works a bit differently in buttons and pro-forms:
[hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> rra[/hilite]
rra=”1″ Reattempt failed payments? Possible values: 0 = do NOT reattempt billing when/if a recurring payment fails; 1 = yes, DO reattempt billing when/if a recurring payment fails. With PayPal® Standard integration, PayPal® will retry a maximum of 2 times when you set rra=”1″; after that, a Subscription would be terminated due to Max Failed Payments having been reached. PayPal® Standard integration does NOT make it possible to configure Max Failed Payments, it simply defaults to a value of 2 whenever rra=”1″, indicating that you DO want to retry failed payments.
[hilite path]Dashboard -› s2Member® -› PayPal® Pro-Forms -› Shortcode Attributes -> rra[/hilite]
rra=”2″ Reattempt failed payments? Possible values: 0 = do NOT reattempt billing when/if a recurring payment fails; 1 or higher = yes, DO reattempt billing when/if a recurring payment fails. With PayPal® Pro integration, PayPal® will retry a maximum of 2 times whenever rra=”2″; after that, a Subscription would be terminated due to Max Failed Payments having been reached. With PayPal® Pro integration, the value of this attribute also configures Max Failed Payments. So a setting of rra=”2″ means that you allow a maximum of 2 failed payments.
I hope that helps.