Payment Method Nonce
Payment Method Nonce: Create
Note
You should only create payment method nonces server-side when using
3D Secure or
Checkout with PayPal.
- PHP
$result = $gateway->paymentMethodNonce()->create('A_PAYMENT_METHOD_TOKEN');
$nonce = $result->paymentMethodNonce->nonce;
Braintree\Exception\NotFound
exception.
Parameters
'paymentMethodToken'
stringThe token of the payment method