How to fix "520002 Internal Error" response of GetPaymentOptions API? - paypal

I am supporting eCommerce project that uses PayPal Adaptive Payments. Suddenly, GetPaymentOptions production API began to respond with 520002 Internal Error. The same Sandbox API works fine, but production one crashes with that error. Official documentation has no information about this error. Does anyone know how to fix this issue?

Related

PayPal Vault integration

I am currently developing a mobile marketplace application using React-Native and Nest.js. I am implementing the 'onboarding before payment' flow for sellers, where I am storing the merchant id in my database. However, when a customer adds a payment method and I use the "v3/vault/setup-tokens" and "v3/vault/payment-tokens" to retrieve the vault_id, and then create an order using "v2/checkout/orders", I always receive a 422 response with the message "Payee account specified is invalid. Please check the payee.email_address' or payee.merchant_id' specified and try again. Ensure that either payee.merchant_idor `payee.email_address" is specified."
I have followed the steps outlined in the PayPal documentation but am still encountering this issue.
I would like to know if anyone has any experience with this issue and could provide guidance on how to solve it. I am also looking to integrate PayPal and credit card payments in my application and any suggestions on how to do this with React-Native and Nest.js would be greatly appreciated.

API Credential Error with WooCommerce

I have installed Paypal Express Checkout but keep getting API Credential error 3 when trying to purchase through WooCommerce. Seems to work fine through PayPal standard. Any ideas? I've re-set my API info on PayPal just in case but still getting the error.
You need to make sure the environment is set as Live instead of sandbox.
Adding the configuration guide for your reference.

Getting Error on PayPal PAYEE_ACCOUNT_LOCKED_OR_CLOSED

I have implemented Paypal API in my ASP.net MVC application and I have tested it using the live api key,
At the time of payment processing I am getting an error stated
reason=PAYEE_ACCOUNT_LOCKED_OR_CLOSED in the failure URL
This is the page which I am getting
I got the resolution for the issue
It was the account was not completely created from paypal
Thats has been resolved and now the payment is working fine....
Thanks for your response micstr

Paypal Mobile SDK cannot proceed payment, received unknown error

I wonder if anyone can help me with this problem. I receive this error from my iOS SDK, for 2 attempted requests:
2015-01-22 16:14:32.238 Page Advisor Consumer[6442:607] PayPal SDK: Request has failed with error: UNKNOWN_ERROR - System error (UNKNOWN_ERROR). Please try again later. (400) | PayPal Debug-ID: be3d18e185478 [live, PayPal iOS SDK 2.8.2]
2015-01-22 16:15:06.557 Page Advisor Consumer[6442:607] PayPal SDK: Request has failed with error: UNKNOWN_ERROR - System error (UNKNOWN_ERROR). Please try again later. (400) | PayPal Debug-ID: 52795d8d95006 [live, PayPal iOS SDK 2.8.2]
I wonder what cause this error. Because when I use direct payment REST API there seems to be no problem at all. I already use US Account. Please tell me if i need to provide anymore details. Thank you guys!
UPDATE::!!
I have done further testing, turns out that Mobile SDK somehow cannot create transaction in SGD if connected to a US account, while REST API allows it. Turns out the SDK needs Singapore Account in order to proceed.
The problem is Singapore Account cannot use the newest SDK. Any solution for this? I really desperately need the newest SDK to work with SGD, because the current REST API allows it.
Thanks
I looked up the debug IDs you provided (both Live and Sandbox) and they were all failing for the same reason: unsupported currency for direct credit card transactions.
SGD is not a supported currency for Direct Credit cards with the REST APIs. A list of supported direct credit card currencies can be found here. SGD is a supported currency for PayPal payments with the REST APIs. Since the mSDK sits on top of the REST APIs, the supported currency list for REST and mSDK are one and the same.
As for the error message itself, I will put in a request with the appropriate folks to see if we can display something a bit more informative.

Using paypal IPN sample code but it doesnt work

I'm trying to setup Paypal IPN for my Skype bot but I can't get it to work. I am using the Paypal sample code found here: https://github.com/paypal/ipn-code-samples/blob/master/paypal_ipn.php but I keep on getting We could not send an IPN due to an HTTP error: 500: Internal Server Error from Paypal's IPN simulator.
I really need help with this. I'm not good with PHP.