-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Currency import Undefined index error #21487: #21497
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
Currency import Undefined index error #21487: #21497
Conversation
- API key is required for free version of currencyconverterapi
Hi @Jitheesh. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento-engcom-team give me test instance |
Hi @Jitheesh. Thank you for your request. I'm working on Magento instance for you |
Hi @Jitheesh, here is your new Magento instance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jitheesh Thank you for this contribution, very nice. Can you please have a look at my comments?
app/code/Magento/Directory/Model/Currency/Import/CurrencyConverterApi.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Directory/Model/Currency/Import/CurrencyConverterApi.php
Outdated
Show resolved
Hide resolved
app/code/Magento/Directory/Model/Currency/Import/CurrencyConverterApi.php
Outdated
Show resolved
Hide resolved
@magento-engcom-team give me test instance |
Hi @Jitheesh. Thank you for your request. I'm working on Magento instance for you |
Hi @Jitheesh, here is your new Magento instance. |
- API version and protocol update
app/code/Magento/Directory/Model/Currency/Import/CurrencyConverterApi.php
Outdated
Show resolved
Hide resolved
- cr updates
@magento-engcom-team give me test instance |
Hi @Jitheesh. Thank you for your request. I'm working on Magento instance for you |
Hi @Jitheesh, here is your new Magento instance. |
@Jitheesh
|
Hi @sidolov, thank you for the review.
|
Hi @Jitheesh, thank you for your contribution! |
Description (*)
CurrencyConverterApi is using http://free.currencyconverterapi.com service for importing currency rates. API key is now required for the free server requests and this is not implemented on current Magento core code.
Because of missing API key, https://free.currencyconverterapi.com/api/v6/convert?q=USD_EUR,USD_UAH&compact=ultra
it return following response {"status":400,"error":"API Key is required."}
Fixed Issues (if relevant)
Manual testing scenarios (*)
3.1 It will return API key missing error instead of "Notice: Undefined index:" warning
5.1 Currency rates imported
Contribution checklist (*)