PayPal subscription payment fails after payment with insufficient funds

nerdytips
Contributor
Contributor

I am implementing subscriptions with PayPal and in my code, for the case when the payment fails, I cancel the subscription.

I tried to test the following case:

- purchase a subscription with a card with insufficient funds

- wait for the payment to fail

- retry to pay with the same account with the same card, but with funds

- a new subscription plan should be created because the initial one was cancelled

Unfortunately, the payment is not working for the account, even if the card has enough balance.

Why is this happening, why does the payment not work at the second try and how can I manage this case in my code?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.