Can I get order details from the PayPal API using the token in the redirect URL?

Viewed 161

I have a PayPal subscription set up on a Wordpress site. After the payment, the user is redirected back to domain.com/?token=ABCDABCDABCD

Can I use the token parameter in the URL to get the order/transaction info from the PayPal API? The documentation doesn't seem to help.

The only token that I can find in the docs is the authentication token, so I'm not sure what this one is supposed to be. I was under the impression that the return URL should have the subscription ID, but that looks like I-ABCDEFGH and it's not there even though the subscription is created successfully on PayPal.

0 Answers
Related