Set checkout
set_checkoutMake a collection sellable through Stripe (remove: true stops). Cart Buttons in a Data repeater bound to it then charge via Stripe. Without price_id_field each row charges its numeric price field in minor units (2500 = $25.00) — the collection needs that number field; with price_id_field each row holds a Stripe price id. Needs stripe_connect.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | Stop selling; rows stay. | |
| siteId | No | Site id. Pass it on every call. | |
| price_field | No | Row field with the display price. | |
| price_id_field | No | Row field holding a Stripe price id. Omit to charge `price`. | |
| variants_field | No | Row field with a variants array (each with its own priceId). | |
| collection_slug | Yes | Collection to sell. | |
| inventory_field | No | Row field with stock count. |