braintree / braintree-web

A suite of tools for integrating Braintree in the browser
https://developer.paypal.com/braintree/docs/start/hello-client/javascript/v3
MIT License
442 stars 134 forks source link

Tokenisation network error in ACH since version 3.48.0 #445

Closed haseebahmad109 closed 5 years ago

haseebahmad109 commented 5 years ago

General information

Issue description

I am always getting tokenisation error in ACH Direct Debit since version 3.48.0.

crookedneighbor commented 5 years ago

Can you pass on the error you are getting? Especially the Braintree request id inside of the details object of the error.

(alternatively you can inspect the network tab to see the request id in the actual request)

haseebahmad109 commented 5 years ago

@crookedneighbor

Following is the response that I am getting from this call

Request Url: https://payments.sandbox.braintree-api.com/graphql

Request Payload {"clientSdkMetadata":{"source":"client","integration":"custom","sessionId":"108cbc97-e668-4fb7-a675-a313ac411d22"},"query":"mutation TokenizeUsBankAccount($input: TokenizeUsBankAccountInput!) { tokenizeUsBankAccount(input: $input) { paymentMethod { id details { ... on UsBankAccountDetails { last4 } } } }}","variables":{"input":{"usBankAccount":{"achMandate":"I authorize Braintree to debit my bank account on behalf of My Merchant.","routingNumber":"307075259","accountNumber":"307075259","accountType":"CHECKING","billingAddress":{"streetAddress":"33109 Northeast Morcroft Road","extendedAddress":"","city":"La Center","state":"WA","zipCode":"98629"},"individualOwner":{"firstName":"Haseeb","lastName":"Ahmad"}}}}}

Request Response { "extensions" : { "requestId" : "XeGS8zJZd3BWTXrwBMFpauobVY8zeI4KXXaiz0y09dtjCgh4UesINQ==" }, "data" : { "tokenizeUsBankAccount" : null }, "errors" : [ { "message" : "A downstream service was unreachable.", "locations" : [ { "line" : 1, "column" : 72 } ], "path" : [ "tokenizeUsBankAccount" ], "extensions" : { "errorType" : "unknown_error", "errorClass" : "SERVICE_AVAILABILITY" } } ] }

FYI Changing the version to 3.47.0 resolves the issue.

crookedneighbor commented 5 years ago

FYI, we've figured out this issue and are working on a fix.

crookedneighbor commented 5 years ago

We believe it is resolved now. Can you update to 3.52.0 and try again?

haseebahmad109 commented 5 years ago

Ok will try and close the issue today, Thanks.

crookedneighbor commented 5 years ago

Going to close this now, because I believe it is fixed. Comment here if you're still having issues.