One-Page checkout #898
-
Is it possible to create a one-page checkout process? Instead of having separate pages for information, shipping, and payment, can we combine them into a single page with a "Pay" or "Checkout" button that redirects to the payment provider? After completing the payment, we can then display a separate confirmation page. Are there any existing setups or ways to merge these separate pages into one without losing any functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello 👋🏻 If you're using an off-site payment provider like Mollie or PayPal, it should be possible. Simply use the Unfortunately, if you want to use Stripe it's not possible. When the checkout page is loaded, Simple Commerce needs to create a payment intent with a set amount. If a shipping method was selected on that page which then changed the order total, it wouldn't be possible for it to be reflected in the payment intent. You could get clever with JavaScript loading in the customer/shipping form first, then when it's submitted, loading the |
Beta Was this translation helpful? Give feedback.
Hello 👋🏻
If you're using an off-site payment provider like Mollie or PayPal, it should be possible. Simply use the
{{ sc:cart:update }}
tag for collecting customer information & shipping info, then redirect them to a template that takes them to the payment provider (example for Mollie in the starter kit).Unfortunately, if you want to use Stripe it's not possible. When the checkout page is loaded, Simple Commerce needs to create a payment intent with a set amount. If a shipping method was selected on that page which then changed the order total, it wouldn't be possible for it to be reflected in the payment intent.
You could get clever with JavaScript loading in the customer/shipping form …