Skip to main content

Parameters

price_id
string
required
Existing Stripe price ID (e.g., “price_…”)
redirect_url
string
URL to redirect customer to after payment (mutually exclusive with hosted_confirmation_message)
hosted_confirmation_message
string
Custom message for Stripe’s hosted confirmation page (mutually exclusive with redirect_url)
testmode
boolean
default:false
Use test mode (default: false)