Integration of DoDirectPayment Error Recently - Transaction cannot be processed

TEDCHOE
New Community Member

"Transaction cannot be processed."
We are getting this error message when we use DoDirectPayment from Sandbox. We just followed this url - https://developer.paypal.com/api/nvp-soap/paypal-payments-pro/integration-guide/direct-payment/

How to solve this issue? Thank you.

 

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @TEDCHOE ,

 

Thank you for contacting PayPal community.

 

Our sincere apologies for any inconvenience caused and delay in email response.

 

The API Error code - 10548 usually occurs due to the Sandbox PayPal PRO account setup issue.

 

Errorcode  :  10548
Shortmessage  :  "Invalid Configuration"
Longmessage  :  "This transaction cannot be processed. The merchant's account is not able to process transactions."

 

Guide link - https://www.paypal.com/us/smarthelp/article/why-did-i-get-api-error-code-10548-ts1147

 

Here's how to enable PayPal Payments Pro on a Sandbox test account:

 

  1. Log in to your PayPal Developer account.
  2. At the top of the page, click Dashboard.
  3. Click Accounts under Sandbox on the left side of the page.
  4. Click the email address for the account for which you would like to enable Payments Pro.
    Note: Only Business accounts can have Payments Pro enabled.
  5. Click Profile under the email address.
  6. Click Upgrade to Pro.
  7. Click Enable.

Once your sandbox business account is upgraded to PRO, you should be able to integrate and perform DoDirectPayment API calls. 

 

Thank you so much for your patience and understanding.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.