braintree / braintree_php

Braintree PHP library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
546 stars 224 forks source link

Invalid keys options[usBankAccountVerificationMethod] #257

Closed ghost closed 5 years ago

ghost commented 5 years ago

Trying to add ACH integration, and following the documentation here, I am adding the following to the request:

            'options' => [
                'usBankAccountVerificationMethod' => 'network_check'
            ]

But when I try to do a test transaction, I'm getting the following error back:

"invalid keys: options[usBankAccountVerificationMethod]"

I put a breakpoint in "/vendor/braintree/braintree_php/lib/Braintree/Util.php" in the verifyKeys method and sure enough, the validKeys array does not contain options[usBankAccountVerificationMethod]

If it make any difference, I am using the 3.40.0 SDK