Embedded Checkout
An embedded checkout is an online purchasing process seamlessly integrated within your store, allowing your customers to complete their transactions without being redirected to an external platform or payment gateway. It offers a more cohesive and branded shopping experience.
Embedded checkout matters because it enhances the overall shopping experience, improves conversion rates, and gives your business greater control over branding and data security, ultimately leading to increased sales and customer satisfaction.
- Seamless User Experience: Embedded checkouts provide a smooth and consistent user experience by keeping your customers within the familiar environment of your store. This reduces friction during the checkout process, leading to higher conversion rates.
- Branding and Customization: Your business can customize and maintain its branding and design elements throughout the checkout process, reinforcing your brand identity.
- Reduced Cart Abandonment: Embedded checkouts can help reduce shopping cart abandonment rates. When customers are redirected to external payment pages, they may become confused, which can lead to them abandoning their purchases.
- Data Security: It allows for more control over the security of customer data. With an embedded checkout, your business can implement security measures to protect sensitive information.
- Better Insights: Embedded checkouts can also provide your business with more comprehensive data and analytics about the entire customer journey. This can help you better understand customer behavior and improve the buying process.
- Cross-selling and Upselling: With an embedded checkout, businesses have the opportunity to incorporate cross-selling and upselling features within the checkout process, increasing the average transaction value.
- Mobile-Friendly: Embedded checkouts can be optimized for mobile devices, ensuring a user-friendly experience for customers shopping on smartphones and tablets.
- Reduced Technical Barriers: External payment gateways can sometimes discourage customers who want to avoid creating new accounts or using unfamiliar services. Embedded checkouts simplify the process, making it easier for your customers
Enabling embedded checkout involves two steps:
- Enabling a store variable on ChordOMS
- Changes to your storefront code
Simply providing STRIPE_EMBED_CHECKOUT=enabled will prepare a checkout session suitable for using Stripeβs embedded checkout.
Navigate to Settings --> Store Setup --> Scroll down to Environment Variables and add STRIPE_EMBED_CHECKOUTwith a value of enabled and click the + to save
The steps to implement Embedded Checkout on your storefront will depend on when your site was launched - specifically, when your individual site's codebase was forked from one of Chord's starter kits.
Please follow the relevant directions below based on whether your site was forked before or after January 1, 2024.
If you did not orignally fork your site from one of Chord's starter kits or are unsure of when your codebase was forked, please reach out to [email protected].
Having forked a version of the Chord starter kit that does not incorporate Embedded Checkout, implementation requires the configuration of the aforementioned OMS environment variable and an EmeddedCheckout component in your front-end codebase. It does not require a front-end environment variable (unless you choose to implement one). Please see the example components below.
Example EmbeddedCheckout Component - Gatsby
Example EmbeddedCheckout Component - NextJS
Having forked a version of the Chord SDK that already incorporates Embedded Checkout, implementation requires only the configuration of a few environment variables in your OMS instance and your front-end.
If you are using Gatbsy:
Set GATSBY_STRIPE_USE_EMBED_CHECKOUT = true in your front-end store Environment Variables.
If you are using Nextjs:
Set STRIPE_USE_EMBED_CHECKOUT= true in your front-end store Environment Variables.
If you have any questions, please contact [email protected]ο»Ώ
ο»Ώ