Paypal PAYMENT_CREATION_ERROR - paypal

I am implementing paypal , my code works in sandbox , but does not work on live production .
I use
com.paypal.sdk : paypal android -sdk - : 2.14.1
Logcat
E/paypal.sdk: request failure with http statusCode:422,exception:Unprocessable Entity
E/paypal.sdk: request failed with server response:{"name":"PAYMENT_CREATION_ERROR","debug_id":"ca78bf1438119","message":"checkout-session not created","information_link": "https://developer.paypal.com/docs/api/#PAYMENT_CREATION_ERROR"}
E/paypal.sdk: PAYMENT_CREATION_ERROR

That error usually has to do with the funding source that's being chosen for the payment. If you believe that everything is good with that, then I'd recommend you contact PayPal Customer Support so that they can take a look to see what may be causing it. You can reach them by clicking the Contact Us link at the bottom of a PayPal page. This isn't an issue with the SDK or your code.

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.

PayPal v.zero SDK error: "Sorry we cannot connect to PayPal"

I'm testing a new feature for a site I've built for a client that uses the Braintree v.zero SDK (using the PHP SDK + a simple custom UI, not the drop-in UI) to process PayPal payments. We've tested pretty extensively in sandbox mode, and are now trying to test in production mode with small transactions; but even though I've followed the steps to "go live" in the v.zero documentation (https://developer.paypal.com/docs/accept-payments/express-checkout/ec-vzero/testing-go-live/php/), when a user clicks the button to authenticate with PayPal, the popup window that opens just shows an extremely vague error message: "Sorry we cannot connect to PayPal. Please try again in a few minutes."
Is there some way I can get more clarity into what exactly is going wrong? The access token I'm using to create the Braintree gateway on the server side is valid for production, as far as I can tell, so I don't know what else the problem could be. I've seen a couple other questions where this type of error message is mentioned, but those all seem to have been non-US developers trying to set up sandbox accounts for US companies. My client and I are both in the US, and sandbox testing worked fine.
Thanks!

Error with Opencart

I installed the module chekout Express OpenCart 2.1.0.1 for my eshop www.lecoccolekids.com/eshop
I created the API of my business account, I created a sandbox account and I connected my business account for my sandbox account.
When I went to do a test purchase on my website everything goes well and the system sends me back to the order page made, but if I go to check in Opencart System-> Tool-> ErrorLog returns error. In http://www.famarinu.com/log.rtf link you can download the file where log.rtf control the type of error.
What should I do?
Thank you!
Your linked document seems to contain the debug logs of the transaction and no errors.
It contains the SetExpressCheckout, GetExpressCheckoutDetails and DoExpressCheckoutPayment API requests that your integration is sending and the response from PayPal.
It's also showing that an IPN was received for the transaction and PayPal responded with VERIFIED when your integration POSTed back for verification.
If you are worried about the "Transaction exists" line, that seems to be an intended log line from your PayPal module, and not an error, as seen here:
https://forum.opencart.com/viewtopic.php?t=115661

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.

Credit Card payments not working Paypal

Hi I am implementing paypal API on my website where different vendors come and sell their products.Currently I am using sandbox environment.Payments are working perfectly using paypal account but payments are not working using Credit Card.Getting following error:
We are sorry, we are experiencing temporary difficulties. Please try again later. If this error occurred while making a payment, avoid duplicate payments by checking your Account Overview before resending a payment.
For some browsers, this problem can be resolved by clearing or
deleting cookies.
Message 6838
Any ideas?
If this is an issue that is happening with every transaction, make certain that you are using live credentials with live endpoints.
If you are using Express Checkout make certain you have the correct API Signature credentials.
Below are two links for going live and correct API Endpoints:
PayPal Developer Site, Going Live
API Endpoints
If this is happening on only a handful of transactions it may be a technical issue.You can submit a ticket to PayPal Merchant Technical Support