Magento provides a lot of payment processing services as plugins and Twig is one of them. Using a payments app merchant can redirect buyers to the payment provider’s page (checkout page) where the final purchase is done.
Overview of the integration flow
Payment apps can be found on Magento Store(just an “App Store” for Magento apps) or Twig will offer it via a shared link. The installation is done in 6 steps
Merchant discovers the app on Magento Store Installs the app (the installation screen, see pic above) Completes required configurations if shown on the screen Activate twig and Pay with Twig will show as a payment option during the checkout Overview of the checkout flow
Checkout is straightforward and every communication between the merchant and Twig app is empowered by Magento as a broker. Steps to checkout:
Buyer add items to the cart and when they want to do the purchase they choose Pay with Twig Magento will receive a request to do the checkout Buyer is redirected to the Twig’s checkout page After the purchase, Twig tells Magento about the purchase and the buyer is redirected to the store.
Note: All the communication between the merchant and Twig checkout happens through Magento, so there is no direct communication between the merchant and Twig. If the buyer clicks on purchase, we notify Magento about the payment then Magento notifies the merchant.