Explain the requirements regarding payment methods #165
Labels
Enhancement
Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.).
Maintenance
Configurations, READMEs, releases, etc.
Milestone
In default installation, the RefundPaymentMethodsProviderInterface returns only active payment methods of type 'offline' enabled for the order's channel.
In some installations, there might be no suitable methods; creating a refund with no payment method selected will succeed (albeit while throwing an error since RefundPayment constructor requires one; I'm not aware of any other consequences at the moment).
The default requirements for available payment methods should be explained in the README, preferably together with explanation of how to implement custom RefundPaymentMethodsProvider.
The text was updated successfully, but these errors were encountered: