paypal

What username/password/signature should I be using for the PayPal Sandbox?

試著忘記壹切 提交于 2020-01-03 12:31:17
问题 I'm trying to refund transactions using the Paypal NVP API. I've got some payments in a sandbox account, but when I try to issue a refund though the API I get You do not have permissions to make this API call . But I'm not sure what credentials I should be using. According to the documentation, it says: To access the PayPal API, you need API credentials, either an API signature or API certificate, that identify you. Use the following sample API signature and password in your sample programs

Error #520009 - Account is restricted

拥有回忆 提交于 2020-01-03 11:46:14
问题 I get a 520009 error (Account xx@xx.com is restricted) when trying to make a parallel payment. My code worked fine using the sandbox but I switched to the live endpoint and it began failing. The account in question is a valid paypal account and I am using "feespayer=SENDER". Am I missing something? Shouldn't the pay call go through even if the payee is a basic account? Why would this occur? Here is my code for reference function deposit($config) { try { if (isset($config['return_url'])) $this

Correct paypal IPN variable for suspended subscriptions

别等时光非礼了梦想. 提交于 2020-01-03 10:29:58
问题 If a paying monthly subscriber has a credit card that expires, and paypal failed three times in trying to get the funds, then they are "suspended" by paypal. I'm trying to update my PHP script so that the correct change will happen in the database in this situation. I've studied the paypal documentation and can't find a clear answer on what IPN variable I should be using once a user's account has been suspended. Does anyone know which of the following is the correct variable and value to use?

Paypal IPN sending 'pending' with 'multi-currency' as reason?

半城伤御伤魂 提交于 2020-01-03 08:47:39
问题 I am using the Paypal IPN to take payments from my website. The website is only in development at the moment and so I set up a Sandbox site to test and I've been taking payments very successfully in GBP currency (my country of residences currency) with a test account registered in the UK. However, I want the site to detect a visitors country of origin and allow them to purchase in their own currency. So I accessed the site via a US based proxy. The site used dollars as the currency and I

PayPal error 580001 HTTP Request from iOS

。_饼干妹妹 提交于 2020-01-03 07:09:21
问题 Having some difficulties in implementing Adaptive payments in iOS and unfortunately there is very little documentation on PayPal's website or response. This is the code: - (void)makePaymentSandbox{ NSError *error; //NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration]; //NSURLSession *session = [NSURLSession sessionWithConfiguration:configuration delegate:self delegateQueue:nil]; NSURL *url = [NSURL URLWithString:@"https://svcs.sandbox.paypal.com

PayPal first redirect crash, second one redirect the user successfully

*爱你&永不变心* 提交于 2020-01-03 05:57:11
问题 these days, I implemented the PayPal-Account-Payment Payflow into my checkout. At this point everything works perfect. But sometimes I get an error when I try to redirect my customers to complete the order on paypal.com. When I refresh the page and submit all data again it works. Here is my current PHP -Code: $sdkConfig = array( "mode" => "LIVE" ); $cred = new \PayPal\Auth\OAuthTokenCredential(<**>, <**>, $sdkConfig); $apiContext = new \PayPal\Rest\ApiContext($cred, 'Request'.time());

Paypal PDT doesn't return “custom” value anymore (regression?)

烂漫一生 提交于 2020-01-03 05:05:20
问题 We use PDT's cmd=_notify-synch API to validate transactions when the customer is redirect back to our website after a payment. We pass a "custom" value in our Paypal buttons with a customer id, and we expect to get this value back. This worked fine for the past 5 years. Starting on or around 2018/10/19, the PDT API stopped returning the "custom" value that was passed in. This broke our payment flow. Not sure if anybody else ran into this issue, and/or if there's a workaround or a

Verify PayPal donation between two 3rd parties

∥☆過路亽.° 提交于 2020-01-03 04:55:05
问题 I'm working on a project where users will be allowed to send donations among each other. I'd like to integrate it with Paypal instead of reinventing the wheel and building my own donation system, but due to the nature of the system, I will need to verify that a donation of X dollars was sent from person A to person B. Is this possible with Paypal, or am I out of luck? 回答1: You will need to look at PayPal Instant Payment Notifications (IPN). Within the call to PayPal to handle the donation

Processing Paypal onAuthorize callback in Angular 4

泄露秘密 提交于 2020-01-03 04:45:05
问题 I can successfully load checkout.js in Angular 4 app, render the Paypal button, the new window appears, I confirm the payment, the payment is processed but I do not know how to setup onAuthorize callback to process the response in Angular 4 (like to show the success and store a payment record to MongoDb). Here is my code. I can see the first console.log containing the payment response but I cannot access the component's scope, so nothing after this first console.log is executed. I get no

Magento PayPal Express not showing

我与影子孤独终老i 提交于 2020-01-03 03:28:46
问题 I have a pretty standard Magento installation (Magento ver. 1.7.0.2) and I have enabled PayPal Express settings (Including API username. password & Signature all filled in). I have set the default theme to blank so that it doesn't use any of my template files but the button is not showing on any pages (product, basket or checkout - These options are set to show in the admin). So even with the default Magento theme non of the paypal buttons show up. Anyone seen this before? Can anyone shed any