PayPal access/grab the $clientToken variable
-
Hello.
Is there any way I can access/grab the $clientToken variable from somewhere? Say functions.php or a custom plugin we have.
$clientToken = $gateway->clientToken()->generate());I need that to load it on the DOM for generating a js object for Paypal: https://developer.paypal.com/braintree/docs/guides/paypal/client-side
Or do you have a simpler way to generate the button for client side and embed it on a template ?
Thank You for your help.
The page I need help with: [log in to see the link]
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘PayPal access/grab the $clientToken variable’ is closed to new replies.