cancel
Showing results for 
Search instead for 
Did you mean: 

response code 2038 , debugId = e405b9e85617a

Highlighted
New Community Member

response code 2038 , debugId = e405b9e85617a

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?