Up to now I have been using Paypal Payments Standard, making Paypal buttons which allow my customers to pay on Paypal and then redirect them to my site. I use PDT to show receipts when they return to my site, and use IPN to actually log the transaction in my database (since they often dont wait to auto-return-- I use PDT to just show a receipt to those that do).
I would like to move away from Payments Standard and use Adaptive Payments. I made some basic calls and all seems to be OK (the payments are being processed in the sandbox correctly), but when it redirects to my site it isn't passing the return url the transaction ID like it did before with PDT. Once it redirects to my website, how am I supposed to get at the payment information? I am aware of the PaymentDetails API, but how do I get the transaction ID or pay-key?