Search code examples
c#paypalpaypal-ipnpaypal-adaptive-paymentspaypal-rest-sdk

Paypal Adapative Payment - IPN and Successful return response


I am developing an application that requires to use Paypal Adaptive payments. I am using .net mvc framework and c# for development

As per the requirement of an application, I have to take a pre-approval of an user to deduct an amount by certain future date.

I am using https://devtools-paypal.com/guide/ap_preapprove_payment/dotnet?success=true this guide to develop my solution.

There is no problem till step 3 - redirecting user to paypal to authorise pre-approval.

I would like to know how to implement IPN so I will get notified that user has authorised us for pre-approval. But there is no guide or information regarding what kind of object it will return to an IPN method. And even when user successfully authorise for pre-approval, user is being redirected to the returnUrl but there is no response coming back with it.

Any idea, direction or guidance will be helpful.


Solution