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

Capturing order on multi-site & multi-currency #106

Open
HirokazuNishi opened this issue Jan 22, 2020 · 0 comments
Open

Capturing order on multi-site & multi-currency #106

HirokazuNishi opened this issue Jan 22, 2020 · 0 comments

Comments

@HirokazuNishi
Copy link
Collaborator

Preconditions (*)

  1. Install Magento2.3.x with sample data.
  2. Install CommunityEngineering_CurrencyPrecision
  3. Set global base currency as JPY
  4. Add new website, store group, and store view
  5. Set USD as new website base currency

Steps to reproduce (*)

  1. Create order from new website that defined on precondition step 4 with PayPal Express (or any other online payment method is OK)
  2. Create invoice from admin panel
  3. Check capture transaction result.

Expected result (*)

  1. Invoice should be created as same amount as order.
  2. Capture amount should be same as order base grand total

Actual result (*)

  1. 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.

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