-
Notifications
You must be signed in to change notification settings - Fork 111
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
Cron error "Requested country is not available." #58
Comments
i have the same issue. when i run the cron.
in my case these are the country ids where this error occurred.
actually mailchimp module call this function After debugging this issue i did the following changes to make it work. This is a working solution, but i feel this is little slow. Solution.
|
Thanks for the feedback. Best |
Hi, this does not fix the "Requested country is not available". |
Hi @mikehenze if you have any ->getCountry() call in mc-magento2\Model\Api\Subscriber.php you must update the extension, because no calls to getCountry() in this file |
I see its all commented // "country" => $address->getCountry() ? Mage::getModel('directory/country')->loadByCode($address->getCountry())->getName() : "" |
Hi @ALL I think still the problem exist. i am looking into this now. :) |
@mikehenze did you try my solution ? Thanks. |
@mamreezaa
And add: to public function __construct to protected function _buildCustomerData ? Maybe you can attach your versions ? |
@gonzaloebiz Please fix this issue because we need this extension to work soon. |
After implementing commit "Add store id" everything works now. |
Magento 2.2.1 Still getting issue "Requested country is not available." Please tell me what to do. |
Enable all the associated countries to customer, orders, etc. Best |
Yes that fixed it. |
I think |
@mikehenze I got the same issue. Could you please show me how to fix it? I got Magento 2.1 |
@tonytrinh206 look 4 comments above |
Hi @gonzaloebiz, thank you for your response. Do you mean I have to allow all countries to my shipping and billing address during the first sync? I went through all of my orders and customers and they have the same US country which has already allowed on our shopping cart. |
Setting the sync date to after the date that you disabled certain countries does not fix it. |
Yes, we disable countries because we no longer ship there or support those countries to any extent. Now for a sync we have to turn them on? This just confuses users, they'll think we now ship to that country again, but we don't. |
Ticket is closed, but issue is not solved. Solution is written in comment by: Please apply this fix to the sources to get it working if you have disabled some countries where you was sending before to and now not anymore. |
I am still encountering this same error in Magento 2.1.6 with MC-Magento plugin version 1.0.27. ebizmarts_ecommerce | error | Requested country is not available Any thoughts as to how this can be fully resolved? |
Cron ebizmarts_ecommerce outputs error:
Requested country is not available.
Version: 1.0.22
Magento: 2.1.7
Multiple storefronts (languages) and multiple Mailchimp Stores (1 list for each language).
The text was updated successfully, but these errors were encountered: