response code 2038 , debugId = e405b9e85617a

mlevin09
New Community Member

Hello, I need your help. I'm using a test account paypal - sanbox account . I created this account as described in the documentation https://developer.paypal.com/docs/integration/paypal-here/sandbox-testing/configuring-accounts/#crea... For integration I’m taking Braintree SDKs https://developers.braintreepayments.com/start/overview I’m try to testing create a transaction in my backend server (https://developers.braintreepayments.com/start/hello-server/java) I’m configure the environment with account sanbox token private static BraintreeGateway gateway = new BraintreeGateway( sanboxAccountToken ); Then created a transaction: TransactionRequest request = new TransactionRequest() .amount(BigDecimal.valueOf(amount)) .paymentMethodNonce(paymentMethodNonce) .descriptor() .name(description) .done(); Result result = gateway.transaction().sale(request); Where: paymentMethodNonce = "fake-paypal-one-time-nonce" amount = 10.0 description = "PAYPAL * test" Test is fail. I get response code 2038 ("Processor Declined"), debugId = e405b9e85617a What am I doing wrong?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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