Vladimir
Vladimir

Reputation: 351

PayPal - Adaptive Payment: how do I know PaymentId on Success page?

I use PayPal Adaptive Payments SDK for .NET and I try to implement simple payment. There is the following flow:

The problem is there is no way to add some customer data to PayRequest object. And I do not know how to get transactionId on success page, because we initialize PayRequest.ReturnUrl before transaction created.
How can I get transactionId on success page? Thank you.

Upvotes: 0

Views: 99

Answers (1)

Mehmet Eren Yener
Mehmet Eren Yener

Reputation: 2036

in your return url you can add your query string data as transactionId, then paypal will return to this url, so you can easily grab your transactionId

Upvotes: 0

Related Questions