paddle_generate_auth_token | R Documentation |
Creates a temporary authentication token for a customer. The token allows Paddle.js to present saved payment methods at checkout.
paddle_generate_auth_token(id)
id |
Paddle customer ID (required). |
A list containing the auth token and expiry details.
set_paddle_mode("sandbox")
result <- paddle_generate_auth_token("ctm_123")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.