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/pricing-embed.md
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
###Pricing Page Embed
1
+
# Pricing Page Embed
2
2
3
3
1. Go to "Embeddables"
4
4
1. Click on `Pricing`
5
5
1. Copy the HTML given
6
6
1. Paste on your existing site where you would like a pricing page to be generated
7
7
8
-
#####Pricing Page options
8
+
## Pricing Page options
9
9
10
10
| Attribute | Type | Description |
11
11
| ------------- |:-------------:| -----:|
@@ -22,7 +22,7 @@
22
22
|[paymentStructureTemplateId]| integer | If set, sends customer directly to checkout for this payment plan |
23
23
|[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 |
24
24
25
-
#####Example Pricing Page Config
25
+
## Example Pricing Page Config
26
26
```javascript
27
27
Servicebot.Tiers({
28
28
url :"https://example.serviceshop.io",
@@ -38,3 +38,6 @@
38
38
}
39
39
})
40
40
```
41
+
## Tips
42
+
- Any options that can be passed to the [checkout embed](https://docs.servicebot.io/checkout-embed) can be passed to the pricing embed, and will be applied to the checkout form that is used when a customer picks a pricing plan.
43
+
- use the handleCheckout function if you want to use your own checkout flow instead of the Servicebot generated one
0 commit comments