Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NEXT-37105 - new payment handling #1431

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion guides/plugins/plugins/checkout/payment/add-payment-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ nav:

# Add Payment Plugin

::: warning
With Shopware 6.6.5.0, the payment handling was refactored.
Most of this documentation is deprecated and obsolete with 6.7.0.0.

The new payment handling is done via a single `AbstractPaymentHandler`.
Isengo1989 marked this conversation as resolved.
Show resolved Hide resolved
Check out the new documentation here: [Add Payment Plugin (>6.7)](/docs/v6.7/guides/plugins/plugins/checkout/payment/add-payment-plugin.html).
:::

## Overview

Payments are an essential part of the checkout process. That's why Shopware 6 offers an easy platform on which you can build payment plugins.
Expand All @@ -33,7 +41,7 @@ You can create your payment handler by implementing one of the following interfa
| AsynchronousPaymentHandlerInterface | `shopware.payment.method.async` | A redirect to an external payment provider is required, e.g. PayPal |
| PreparedPaymentHandlerInterface | `shopware.payment.method.prepared` | The payment was prepared beforehand and will only be validated and captured by your implementation |
| RefundPaymentHandlerInterface | `shopware.payment.method.refund` | The payment allows refund handling |
| RecurringPaymentHandlerInterface | `shopware.payment.method.recurring` | The payment allows recurring payments, e.g. subscriptions |
| RecurringPaymentHandlerInterface | `shopware.payment.method.recurring` | The payment allows recurring payments, e.g. subscriptions |

Depending on the interface, those methods are required:

Expand Down
Loading