return_url invoked multiple times with same parameters

fradisciascio
Contributor
Contributor

I've developed a web application that uses Paypal Rest API to manage payments, following the rules in the documentation guide.

I've noticed that sometimes the callback given in the Payment in return_url variable is called more than once, with same parameters received (orderId, token, payerID).

Why does this could happen? Do I need to manage it avoiding to do anything with same parameters?

Notice that sometimes also the callback given in cancel_url variable is invoked after the return_url callback is raised too.

 

Thanks for your help

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.