You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to integrate the ACH Direct Debit payment system in our NodeJS project and We have to implement it in a live website on customer demand.
I was referring this link of Braintree's developer site: https://developer.paypal.com/braintree/docs/guides/ach/server-side and shows me that payment method's create function has options field and it can use "usBankAccountVerificationMethod" but when i was try to use it in NodeJS it gives me error and i was using npm's package braintree, i checked that package's documentation but it also didn't has "usBankAccountVerificationMethod" method in options field.
Thanks @darshil-vt, the SDK is taking any parameters specified in your paymentMethod.create() call and sending it to the API to validate. We're only checking for deprecated fields, there's no type checking in this library (yet! see #176).
Are you receiving an error when you attempt a paymentMethod.create() call on your server?
I'm going to go ahead and close this since I haven't gotten any updates, but I believe the root is a third party types library is missing these parameters.
gateway.paymentMethod.create({
customerId: "131866",
paymentMethodNonce: nonceFromTheClient,
options: {
usBankAccountVerificationMethod: braintree.UsBankAccountVerification.VerificationMethod.NetworkCheck // or MicroTransfers or IndependentCheck
}
Documentation is shows that paymentMethod can use this method but npm package has no method specified in it and it gives error.
The text was updated successfully, but these errors were encountered: