.stripe-checkout
Action
Create a Stripe checkout session and redirect to payment
Syntax
.stripe-checkout "price_xxx"
checkout with price ID
.stripe-checkout "price_xxx" success="/thanks" cancel="/pricing"
checkout with redirect URLs
.stripe-checkout "price_xxx" mode="subscription"
subscription checkout
.stripe-checkout "price_xxx" customer=$customer_id
checkout for existing customer
.stripe-checkout "price_xxx" success="/thanks" cancel="/pricing" mode="subscription" customer=$cid
checkout with all options