Skip to content

Commit 6a4d232

Browse files
authored
Update pricing-embed.md
1 parent 70ef87f commit 6a4d232

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/pricing-embed.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
### Pricing Page Embed
1+
# Pricing Page Embed
22

33
1. Go to "Embeddables"
44
1. Click on `Pricing`
55
1. Copy the HTML given
66
1. Paste on your existing site where you would like a pricing page to be generated
77

8-
##### Pricing Page options
8+
## Pricing Page options
99

1010
| Attribute | Type | Description |
1111
| ------------- |:-------------:| -----:|
@@ -22,7 +22,7 @@
2222
| [paymentStructureTemplateId] | integer | If set, sends customer directly to checkout for this payment plan |
2323
| [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 |
2424

25-
##### Example Pricing Page Config
25+
## Example Pricing Page Config
2626
```javascript
2727
Servicebot.Tiers({
2828
url : "https://example.serviceshop.io",
@@ -38,3 +38,6 @@
3838
}
3939
})
4040
```
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

Comments
 (0)