By Hideto on Thursday, 25 April 2019
Posted in Payment Gateways
Replies 4
Likes 0
Views 1.6K
Votes 0
Hello,

When PayPal recurring payment is failed (due to outdated credit card information, etc.), is it possible to prevent PayPal to reattempt?

I'm asking this because we faced the issues below:

1. Customer's recurring payment was failed.
2. His recurring subscription was expired one day later.
3. Notification Emailer notified him that his subscription was expired.
4. Therefore, he newly subscribed a recurring plan, and payment was made successfully.
5. After 4 days, PayPal reattempted for the failed payment of the old subscription, and the payment was made successfully, then old subscription got activated.
6. As a result, this customer had duplicated recurring subscriptions, paying twice.

Several customers experienced the same issue.


Notification Emailer settings:
- When to Email: On change in status
- When new status is: Expired

Configuration > Settings > Expert:
- Wait for Payment: 1 day

Plan Details:
- Expiration type: Recurring
- Expiration time: 1 year

PayPlan version: 3.7.1
PayPal app: 3.7.0


We didn't expect that once expired subscription can be activated again by PayPal reattempts.
If we don't want PayPal to make reattempts, how do we configure?


Thanks,
Rikao
Hey Rikao,

In case of Recurring Payments through PayPal, When recurring payment failed then PayPal wait for 5 days and then PayPal reattempts a recurring payment three days after the recurring payment failed. If second attempt also failed then cancel the subscription. As per below mentioned document.
https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/reattempt_failed_payment/

To stop re-attempt failed recurring payment , need to pass sra variable value to 0 to stop re-attempt failure payment.
For this find attached file and replace with below mentioned path.
root/plugins/payplans/paypal/app/tmpl/form.php

Please take a look again on this issue and update us if you have any query.

Thank you for understanding !
·
Thursday, 25 April 2019 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Manisha,

Thank you for proposing the solution!
The problem is, however, we need to be sure to edit the form.php file every time PayPal app is updated...

So, here is another question from a different viewpoint.

If I change the value of "Wait for Payment" from "1 day" to "8 days", is it possible to prevent the subscription to expire before PayPal's reattempts?


Thanks,
Rikao
·
Thursday, 25 April 2019 17:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Hideto,

The problem is, however, we need to be sure to edit the form.php file every time PayPal app is updated...

Yes, you need to update when upgrade newer version.
I've already logged this into our issue tracker feature request section. We will see how we can add it.

If I change the value of "Wait for Payment" from "1 day" to "8 days", is it possible to prevent the subscription to expire before PayPal's reattempts?

Yes, if you set wait for payment period to 8 days , subscription will be prevented to expire before re-attempt to payment.

Let me know if you have any query.

Thank you for understanding !
·
Thursday, 25 April 2019 17:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post