brocksinet/hosted-checkout

BrocksiNet - Hosted Checkout plugin

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:shopware-platform-plugin

0.0.1 2023-12-07 10:58 UTC

This package is auto-updated.

Last update: 2024-04-07 11:50:46 UTC


README

Adds an Event Subscriber to pass carts from headless frontends to the default Shopware 6 checkout.

Why?

For the end user it is not good to switch between two different frontends (UX). But I can also understand that it is maybe hard to implement the complete checkout process in a headless frontend. So this plugin is a compromise to use the twig storefront (and with that all plugins and apps from marketplace) only for the checkout process. It allows to use the same cart in headless (create before via store API) and twig storefront. But for security reasons this is a one-way process. Once the token is used the headless frontend does not know anything about the cart anymore (token replaced).

Installation

Require it via composer

composer require brocksinet/hosted-checkout

Install and activate the plugin via the console

bin/console plugin:install HostedCheckout --activate

Overview checkout process

Overview about Shopware hosted Checkout process

Project specific ToDo's after installation

  • You maybe need to adjust the templates for the cart/checkout so that your end user is jumping back to the headless frontend instead of the default twig storefront.
  • You need to provide the link with the cart token for the user in your headless frontend to jumping to the twig storefront checkout.

Issues or problems?

Please create an issue in this repository.

Created with 💙 by BrocksiNet