braintree / braintree_php

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

Testing 3ds subscriptions with fake nonces #288

Closed brandonburkett closed 3 years ago

brandonburkett commented 3 years ago

General information

Issue description

We are adding 3ds support for both transactions and subscriptions and testing in sandbox. Transactions seem to work fine with any of the test nonces here: https://developers.braintreepayments.com/reference/general/testing/php#nonces-representing-cards

But for subscriptions, when we need to pass in the 3ds enriched nonce directly to subscription()->create, both fake-valid-nonce and fake-three-d-secure-visa-full-authentication-nonce are failing with the following error:

Error: 91925: Payment method nonce is invalid.

How can we test 3ds subscriptions with fake nonces?

Thanks, Brandon

hollabaq86 commented 3 years ago

👋 please contact Support for assistance integrating 3DS.