You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/embed.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@ In the config for a request embed, these are the options which can customize the
24
24
|[setPassword]| boolean | if true, the customer will be asked to enter a password, which you can use to create their account |
25
25
|[redirect]| string | After the subscription has been requested (and after handleResponse if present,) redirect the customer to this location |
26
26
|[email]| string | Set the email field |
27
+
|[token]| string | JSON Web Token for the user you want to make the request with, set this if you want to request subscriptions with existing users |
27
28
28
29
29
30
##### Example Request Config
@@ -115,7 +116,7 @@ In the init for a request embed, these are the options which can customize the e
115
116
|[handleCheckout]| function(paymentPlanId) | Allows for custom actions when a customer selects a tier, good for redirecting to a different checkout page |
116
117
|[email]| string | Set if you want to prefill the email |
117
118
|[paymentStructureTemplateId]| integer | If set, sends customer directly to checkout for this payment plan |
118
-
119
+
|[token]| string | JSON Web Token for the user you want to make the request with, set this if you want to request subscriptions with existing users |
0 commit comments