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