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

Confirm whether "Payment Surcharge" works #4

Open
wigman opened this issue Aug 19, 2022 · 1 comment
Open

Confirm whether "Payment Surcharge" works #4

wigman opened this issue Aug 19, 2022 · 1 comment

Comments

@wigman
Copy link
Contributor

wigman commented Aug 19, 2022

Cart totals are correctly updated when using Payment Surcharge, but the surcharge details are not available.

This has been reported to the original module here: mollie/magento2#546

As of version https://github.com/mollie/magento2/releases/tag/v2.16.0 this is resolved in the GQL response.

Question now is if the feature fully works with this extension. If anyone is able to test and confirm that would be appreciated.

@wigman
Copy link
Contributor Author

wigman commented Aug 19, 2022

Update (from @vberthet):

Payment fees details are added to "CartPrices" which requires customization in react-checkout core files in order to display them:

  • add fields in src/reactapp/src/api/cart/utility/query/cartQueryInfo.js
  • add fields in src/reactapp/src/api/cart/fetchGuestCart/modifier.js
  • src/reactapp/src/components/totals/Totals.jsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant