We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In case when there are multiple payment attempts in different states and possibly with different payment methods
RefundPlugin/src/Resources/views/_paymentMethod.html.twig
Line 2 in 02d9399
then this code doesn't work as intended and should be replaced with
{% set original_payment_method = order.lastPayment(constant('Sylius\\Component\\Core\\Model\\PaymentInterface::STATE_COMPLETED')).method %}
as something not outright broken.
Ideally it should be done as new provider and twig function, which can accommodate partial states as well.
The text was updated successfully, but these errors were encountered:
Fixed by #316
Sorry, something went wrong.
No branches or pull requests
In case when there are multiple payment attempts in different states and possibly with different payment methods
RefundPlugin/src/Resources/views/_paymentMethod.html.twig
Line 2 in 02d9399
then this code doesn't work as intended and should be replaced with
as something not outright broken.
Ideally it should be done as new provider and twig function, which can accommodate partial states as well.
The text was updated successfully, but these errors were encountered: