Open wigman opened 2 years ago
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
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: https://github.com/mollie/magento2/issues/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.