I have a PayPal subscribe button which is working with ReturnURL and PDT enabled. This button is being used on an aspx page in ASP.Net.
The problem is that once the transaction on paypal completes all PDT variables are being returned as query string variables in ReturnURL page; I thought only transactionid
(i.e. tx) would be returned in query string of ReturnURL and I would have to post this transaction id and my token to PayPal to get other transaction details like transaction status etc.
Question Why does PDT return all variables like transaction status, item number, amount and currency code rather than just the transaction id as mentioned in their documentation?
This means I do not have to write code to get other transaction details by posting to PayPal from my ReturnURL page since I am getting all details already from query string of ReturnURL, but this sounds against what PayPal documentation says.
ReturnURL after transaction completes
http://localhost/xyz/pp.aspx?c=0&tx=3MA744263S4136832&st=Completed&amt=100%2e00&cc=USD&cm=&item_number=brokerplans&sig=mVojxSFzXH%2fk0RBOwUAMe8kq8jt7glCdnKYFfk9kZxWkuqru4wM1yfkD8FiAJVaoHeGlWY252ZiWwuCw0VJ8L8RU%2bUtnzGTVEgq3w1MQbqsCfZUwImlIfo%2fgV88wYf8V%2fgNgUmVCxBweZ8faFsKDlRr08julLC7ancjIDOkOY2o%3d
The PayPal documentation at https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/paymentdatatransfer/ shows the following as workflow for PDT: