简体   繁体   中英

Paypal Adaptive Payment 540031 Error

I am using the Mobile SDK to integrate paypal payments into my iOS app. I'm trying to verify an adaptive payment but keep getting

540031 Error : You do not have permission to get these payment details

whenever I try to use https://svcs.sandbox.paypal.com/AdaptivePayments/PaymentDetails . I am using my sandbox business credentials. What do I have to do to get permission?

Don't forget to replace

window.plugins.PayPalMobile.setEnvironment("PayPalEnvironmentNoNetwork");

by

window.plugins.PayPalMobile.setEnvironment("PayPalEnvironmentSandbox"); 

for Sandbox or

window.plugins.PayPalMobile.setEnvironment("PayPalEnvironmentProduction"); 

for Live

in your Javascript code, the one that you modified from the sample here

;) enjoy your tests

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM