Accept payments securely with Stripe
.env
file (ignore the STRIPE_MERCHANT_IDENTIFIER
- this is covered later in the guide):
initPaymentSheet
and presentPaymentSheet
utilities for payment processingmerchant.com.{{YOUR_APP_NAME}}
identifier. In your .env
file, add this identifier to the STRIPE_MERCHANT_IDENTIFIER
variable as shown in the example below:
Card Number | Scenario |
---|---|
4242 4242 4242 4242 | Successful payment |
4000 0000 0000 9995 | Failed payment |