Using braintree SDK: PayPal transaction always gets declined with error "2046 : TRANSACTION_REFUSED"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to integrate Braintree SDK into my web application, in order to accept CC and PayPal payments, using the Drop-in UI
(https://developers.braintreepayments.com/guides/drop-in/setup-and-integration/javascript/v3)
I'm currently testing with the Braintree Sandbox enviornment and I've linked it to my PayPal Sandbox business account.
When paying through PayPal (through the gateway.transaction.sale() call) I cannot seem able to make the transaction succeed! No matter what amount I use or what Sandbox user account I use, the transaction gets always declined. In the response payload there's not much data to go with, just these info (I'm including only the relevant data):
{
message: "Declined",
transaction: {
status: "processor_declined",
processorResponseCode: "2046",
processorResponseText: "Declined",
additionalProcessorResponse: "2046 : TRANSACTION_REFUSED"
}
}
I'm out of ideas.
The Braintree testing guide seems to only focus on Credit Card transactions, so I'm unsure on how I am supposed to proceed in order to test PayPal integration:
(https://developers.braintreepayments.com/reference/general/testing/node)
Does anyone have any idea or advice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was having the same problem from couple hours actually I was one of the ten that signed me too but I contact with Braintree to get help and they really helped me this the problem and how to be solved
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Activate reference transactions in PayPal Payments Standard
- Unable to Retrieve Plan ID Related to a Subscription in REST APIs
- Handful of payments on my app are being processed by Sandbox account in PayPal Payments Standard
- Pending Order expiration in REST APIs
- Can't process subscription on Wordpress website in PayPal Payments Standard