Skip to content

Error in pulling currency exchange rates from Currency Converter API #22468

@Hailong

Description

@Hailong

Preconditions (*)

Clean Magento 2.3.1 installation.

Steps to reproduce (*)

  1. Set store default currency to CAD, and add CAD and USD as allowed currencies.
  2. Navigate to Stores -> Currency Rates
  3. Select Currency Converter API as Import Service and click Import.

Expected result (*)

Get the latest rates.

Actual result (*)

Got following error:
Notice: Undefined index: CAD_USD in /Users/hailong/dev/ttechtattoo/ttechtattoo_m2/vendor/magento/magento2ce/app/code/Magento/Directory/Model/Currency/Import/CurrencyConverterApi.php on line 91

Metadata

Metadata

Labels

Component: AdminEvent: dmcdindia1Fixed in 2.2.xThe issue has been fixed in 2.2 release lineIssue: Cannot ReproduceCannot reproduce the issue on the latest `2.4-develop` branchIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions