How to check transaction records and details in sandbox mode

User_one
Contributor
Contributor

Hello,

I have a developer paypal account and I want to test some transactions with test credit cards while in Sandbox mode. Is it possible to check the records of the test transactions to see what Paypal (would have) charged (if it were a real live transaction), so I can understand their fees with context? In sandbox mode with testing credit cards, I can simulate payment with international credit cards and I wanted to see the fees for it.

Thanks

Login to Me Too
3 REPLIES 3

Kavyar
Moderator
Moderator

Good day @User_one 

 

Thank you for posting to the PayPal community.

 

Please find below the detailed guide link for retrieving transaction details.

 

https://developer.paypal.com/docs/api/transaction-search/v1/

 

For sandbox, please use this URL - https://api-m.sandbox.paypal.com

 

If your still facing issues, please create an MTS ticket via -  https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Kavya

PayPal 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

User_one
Contributor
Contributor

Hello Kavyar,

Sorry for my late response, the email notification went to my spam folder.

 

I have tried the links you mentioned, but the sandbox link (https://api-m.sandbox.paypal.com) takes me to a website that displays 403 error, even when I am logged in to Paypal.

Here is the error message:

 

Error 403 Forbidden
Forbidden

Error 54113
Details: cache-syd10165-SYD 1706229620 2470723014

Varnish cache server

 

Also when I a logged in, I can see a section called "recent transactions" only when in live mode - when I change it to sandbox mode, nothing happens and I can't see any test transactions.

Login to Me Too

Kavyar
Moderator
Moderator

Good day @User_one 

 

I would suggest to please contact your website developer or the third party eCommerce support to cross check your using same SANDBOX  REST API Credentials(Client ID & Secret) while performing the below API calls.

 

https://developer.paypal.com/api/rest/authentication/

https://developer.paypal.com/api/rest/postman/ 

 

Also, If a third party eCommerce partner is performing API operation on your behalf, you(i.e merchant) should be on-boarded and necessary API permissions should be granted to the Partner(API Caller). 

 

https://developer.paypal.com/docs/multiparty/ 

 

https://developer.paypal.com/docs/multiparty/seller-onboarding/ 

 

Merchants can manually grant permission to a third party eCommerce to access specific information in your PayPal account and perform PayPal API operations on your behalf.

 

Login PayPal.com >> Settings >> Account Settings >> Website payments >> API Access >> Pre-built payment solution >> Grant API permission >> contact your "Third party software eCommerce" for Third Party Permission Username >> enter the username.

 

Direct link -  https://www.paypal.com/cgi-bin/webscr?cmd=_profile-api-grant-authorization

                       https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/admin/third-party/ 

 

If you are still experiencing issues, please create an MTS ticket via the following URL - https://www.paypal-support.com/s/?language=en_US . Please ensure that you provide detailed information and error details when submitting the ticket.

 

Sincerely,

Kavya

PayPal 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.