Preconditions (*)
- Install Magento2.3.x with sample data.
- Install CommunityEngineering_CurrencyPrecision
- Set global base currency as JPY
- Add new website, store group, and store view
- Set USD as new website base currency
Steps to reproduce (*)
- Create order from new website that defined on precondition step 4 with PayPal Express (or any other online payment method is OK)
- Create invoice from admin panel
- Check capture transaction result.
Expected result (*)
- Invoice should be created as same amount as order.
- Capture amount should be same as order base grand total
Actual result (*)
- Capture amount is rounded and different amount is sent to payment gateway and Magento db.
CurrencyPrecision\Plugin\Directory\Model\CurrencyRounding::aroundRound should use right currency code for rounding.
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
Actual result (*)
CurrencyPrecision\Plugin\Directory\Model\CurrencyRounding::aroundRound should use right currency code for rounding.