Payment confirmation as an email document

markknochen
Contributor
Contributor

Hi,

after a successful payment via PayPal you will be redirected to the shop page, you will receive the trans_id as a GET variable.

With the help of this GET variable, I would like to query the status of the payment again separately - if possible as the email document that the user received from PayPal that the payment was made.

Or is there another way to query the status of the payment afterwards and get more than just a "yes/no"?

 

Thank you

 

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @markknochen,

 

Thank you for posting to the PayPal community.

 

Yes, merchants use the below API calls and get the details(status, amount details, etc).

 

Order details : https://developer.paypal.com/docs/api/orders/v2/#orders_get

 

Authorized payment detailshttps://developer.paypal.com/docs/api/payments/v2/#authorizations_get

 


Captured payment detailshttps://developer.paypal.com/docs/api/payments/v2/#captures_get 

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.