showStripeCheckout
Key
Type
Description
Example Action Object
{
"action": "showStripeCheckout",
"options": {
"apiKey": "pk_test_YOUR_STRIPE_PUBLIC_KEY", // Replace with your actual public key
"product": {
"name": "My Product",
"description": "Description of my product",
"amount": 2000, // Amount in cents (e.g., $20.00)
"currency": "usd"
},
"onSuccess_actions": [
{
"action": "showAlert",
"options": {
"title": "Payment Successful",
"text": "Thank you for your purchase!",
"type": "success"
}
}
]
// ... other Stripe options as needed
}
}Last updated
Was this helpful?