paypal-adaptive-payments

refund_status NO_API_ACCESS_TO_RECEIVER, paypal response

人盡茶涼 提交于 2019-12-02 08:54:27
问题 I'm using this gem for payments in my rails app: https://github.com/jpablobr/active_paypal_adaptive_payment I can not make a refund, I get the next message in response log: ...refund_status="NO_API_ACCESS_TO_RECEIVER">]> response_envelope=#<Hashie::Rash ack="Success".... I am using the pay_key for make a refund. Its possible fix this error? Thank you so much! 回答1: Ok the problem was, For a receiver to grant permission to refund to the API Caller: Login to www.paypal.com (For Sandbox: www

Adaptive Payments without modal box or popups?

ⅰ亾dé卋堺 提交于 2019-11-30 15:15:27
Is it possible to launch the payflow entirely inline (a la Express Checkout)? How? We're using chained payments and everything works on non-iOS-mobile devices (and in Chrome for iOS), but we're making a web app, so we need this to work on phones. Testing on the iPhone, we have this problem with PayPal's code that I've already asked about, as well as the fact that when I get around that bug by doing a location.replace with the URL to PayPal (or loading it in a lightbox of my own design), iOS and mobile Safari kill the "Log In" popup (without giving the user an opportunity to view it if they so

Paypal Adaptive payment for mobile web

﹥>﹥吖頭↗ 提交于 2019-11-30 06:54:35
问题 Im integrating Paypal Adaptive Payment API for a mobile website. But when Im submitting payment to https://www.paypal.com/webscr?cmd=_ap-payment&paykey=value ( For Sandbox : https://www.sandbox.paypal.com/cgi-bin/webscr ) Its always redirecting to Paypal Main Web. Not to Paypal Mobile website. How to redirect client to paypal mobile web? 回答1: Try redirecting your site to https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay?paykey=AP-XYZ&expType=mini Fill your pay key in place of AP

Paypal adaptive payment return url is calling twice

◇◆丶佛笑我妖孽 提交于 2019-11-30 03:57:16
问题 I have implemented paypal adaptive payment method and using the web flow. After making a payment, when i explicitly clicks on return button, the return url calls twice but if i wait for auto redirect then it calls once only. I am not able to understand why return url is calling twice. Please advice. I am using below code. public static ActionOutput MakeTransactionUsingPaypal(PaymentDetails payment, ShopCart shop_cart) { ReceiverList receiverList = new ReceiverList(); receiverList.receiver =

Adaptive Payments without modal box or popups?

…衆ロ難τιáo~ 提交于 2019-11-29 21:46:26
问题 Is it possible to launch the payflow entirely inline (a la Express Checkout)? How? We're using chained payments and everything works on non-iOS-mobile devices (and in Chrome for iOS), but we're making a web app, so we need this to work on phones. Testing on the iPhone, we have this problem with PayPal's code that I've already asked about, as well as the fact that when I get around that bug by doing a location.replace with the URL to PayPal (or loading it in a lightbox of my own design), iOS

Chained payment cannot be completed

↘锁芯ラ 提交于 2019-11-29 16:25:19
I'd like to think I'm just missing something obvious here, but I can't seem to get a chained payment to complete (using the PHP SDK in the sandbox). I am able to get a successful response, and when I redirect the user to PayPal the transaction details show up fine, but when the user attempts to complete the payment they get the dreaded error: Your payment can't be completed. Please return to the participating website and try again. What's frustrating is that I've dumped the request data that is being sent, and compared it to the data in the example given in the documentation and tweaked my

PayPal API - Verify that an account is valid / exists / verified

强颜欢笑 提交于 2019-11-29 11:54:39
问题 Has anyone been able to verify the validity of a PayPal account only by the email address? AdaptiveAccounts GetVerifiedStatus (in PayPal's own words) is only for use by their key strategic customers (see below), and I cannot find any other way to check based on an email address whether an account exists and is verified. Even doing a valid NAME search with all fields supplied doesn't work, try it for yourself: https://devtools-paypal.com/apiexplorer/AdaptiveAccounts I've been using their

Internal Server Error with PayPal MPL

坚强是说给别人听的谎言 提交于 2019-11-29 05:05:32
I am trying to use PayPalMPL 2.1.7 for iOS to accept third party payments in my app. When I use this code to initialize the environment: [PayPal initializeWithAppID:@"APP-80W284485P519543T" forEnvironment:ENV_SANDBOX]; I get this error in the log: Checking Error******************** Posting Error: -1 and this error as an alert in the app: Error internal server error I would love to upgrade to the new PayPal iOS SDK, but it doesn't offer third party payments yet. Any idea what will fix these errors? Thanks! However the question has an answer, I would like to add my two cents for future beginners

Paypal Embedded Flow not using returnUrl or cancelUrl

余生长醉 提交于 2019-11-29 03:05:18
问题 I am using Paypals Adaptive Payments and Embedded flow feature to provide checkout via a minibrowser. Everything seems to be working correctly in the sandbox environment except that when the payment is completed successfully, the user is never redirected to my returnUrl set in the PAY API request. Same goes for my cancelUrl. After the payment is complete, the user is shown an order overview in the minibrowser and a button labelled "close". If a user clicks this button, the minibrowser is

Adaptive Payments payment COMPLETED although actionType is CREATE

寵の児 提交于 2019-11-29 02:25:30
Using the Adaptive Payments API I acquired a pay key using the API method Pay with these parameters: actionType: CREATE receiverList.receiver(0).email: ... receiverList.receiver(0).amount: 5 currencyCode: EUR cancelUrl: ... returnUrl: ... requestEnvelope.errorLanguage: en_US Then I started the embedded pay flow with this URL: https://www.sandbox.paypal.com/webapps/adaptivepayment/flow/pay?expType=light&payKey= ... After the lightbox is closed again, when I call the PaymentDetails method on the pay key, it gives me (among other values): paymentInfoList.paymentInfo(0).transactionStatus: