Payment
Shopware 6's payment system is an integral part of the checkout process that deals with payment transactions from customers to merchants and visa-versa.
When a customer buys a product using any payment method (debit card, credit card, PayPal, etc.), it follows a payment transaction flow that passes through the sequential steps of payment from start to approval to finish the payment.
Payment handlers integrate seamlessly into the point of sale and let your customers pay for orders with one or more payment methods during the checkout process.
Shopware supports different payment handlers for conducting payment transactions, such as:
- Synchronous payment - includes a single call to an external service. Here the final state of a transaction is returned immediately.
- Asynchronous payment - that redirects the customer to a dedicated checkout page after placing an order. Here the transaction may first return a Pending status before returning a final status indicating the success or failure of the transaction request.
- Prepared payment - an alternative method that first prepares and validates the payment before creating an order. Once successful, it later captures the payment.
- Payment refund - where payment integrations return the funds to the customer.
In Shopware, Apps can provide integrations to payment providers. Also, Shopware 6 offers an easy platform on which you can build payment and customize payment providers via plugins.
When your customer is ready to pay, the payment API handle provides a collection of APIs that enable you to: