You are here

public function HostedFieldsInterface::generateClientToken in Commerce Braintree 8

Generates the client token.

Used by the add-payment-method plugin form and review checkout pane.

Return value

string The client token.

1 method overrides HostedFieldsInterface::generateClientToken()
HostedFields::generateClientToken in src/Plugin/Commerce/PaymentGateway/HostedFields.php
Generates the client token.

File

src/Plugin/Commerce/PaymentGateway/HostedFieldsInterface.php, line 42

Class

HostedFieldsInterface
Provides the interface for the HostedFields payment gateway.

Namespace

Drupal\commerce_braintree\Plugin\Commerce\PaymentGateway

Code

public function generateClientToken();