-
Create webhook on event checkout.session.completed to url /commerce/stripe-embed/payment-process/
-
Create page where will be payment form, and add [!CommercePaymentStripeEmbedForm!] in page content
-
Create reserve page, where user will be redirected if we don't receive webhook in time.
-
Set Public key,Secret key, reserve page id, paid page id.
-
Install requires
- stripe/stripe-php
- formTpl - payment form template