public function HostedFieldsInterface::createPaymentMethodNonce in Commerce Braintree 8
Creates a payment method nonce.
Used by the review checkout pane.
Return value
/Braintree/PaymentMethodNonce The PaymentMethodNonce response object.
1 method overrides HostedFieldsInterface::createPaymentMethodNonce()
- HostedFields::createPaymentMethodNonce in src/
Plugin/ Commerce/ PaymentGateway/ HostedFields.php - Creates a payment method nonce.
File
- src/
Plugin/ Commerce/ PaymentGateway/ HostedFieldsInterface.php, line 22
Class
- HostedFieldsInterface
- Provides the interface for the HostedFields payment gateway.
Namespace
Drupal\commerce_braintree\Plugin\Commerce\PaymentGatewayCode
public function createPaymentMethodNonce($payment_method_token);