aptivanet Posted March 18, 2015 Share Posted March 18, 2015 Hi, i use eBay module ver. 1.9.2. without having done anything, I have this error and the website is blocked. Can you help? website is www.piaggiovespa.it Thank you [PrestaShopException] The delivery address country is not active. at line 248 in file classes/PaymentModule.php 242. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery') 243. { 244. $address = new Address($id_address); 245. $this->context->country = new Country($address->id_country, $this->context->cart->id_lang); 246. if (!$this->context->country->active) 247. throw new PrestaShopException('The delivery address country is not active.'); 248. } 249. 250. $carrier = null; 251. if (!$this->context->cart->isVirtualCart() && isset($package['id_carrier'])) 252. { PaymentModuleCore->validateOrder - [line 423 - modules/ebay/classes/EbayOrder.php] - [10 Arguments] EbayOrder->validate - [line 832 - modules/ebay/ebay.php] - [2 Arguments] Ebay->importOrders - [line 621 - modules/ebay/ebay.php] - [1 Arguments] Ebay->hookHeader - [line 509 - classes/Hook.php] - [1 Arguments] HookCore::exec - [line 447 - classes/controller/FrontController.php] - [1 Arguments] FrontControllerCore->initContent - [line 37 - controllers/front/IndexController.php] IndexControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php] Link to comment Share on other sites More sharing options...
Involic Posted March 18, 2015 Share Posted March 18, 2015 Please check what countries available for checkout/purchase. Look like ebay module try to import order for country that not enabled for delivery. 1 Link to comment Share on other sites More sharing options...
jamiedickinson Posted September 27, 2015 Share Posted September 27, 2015 How did you fix this? Have just had the same error occur. Someone bought on eBay from Russia, and we normally do not ship to Russia on Prestashop, so when the system has imported it, it has come up with an error (the same as above - see below). I have tried renaming the ebay module folder to "ebay2" to disable it (the site then works). I have then 'enabled' Russia as a country which is shipped to, but when I renable the ebay module (renaming it back to "ebay") the same error occurs. Please advise. [PrestaShopException]The delivery address country is not active.at line 272 in file classes/PaymentModule.php 267. 268. if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_delivery') {269. $address = new Address($id_address);270. $this->context->country = new Country($address->id_country, $this->context->cart->id_lang);271. if (!$this->context->country->active) {272. throw new PrestaShopException('The delivery address country is not active.');273. }274. }275. 276. $carrier = null;277. if (!$this->context->cart->isVirtualCart() && isset($package['id_carrier'])) { Link to comment Share on other sites More sharing options...
nickfromtq Posted March 13, 2016 Share Posted March 13, 2016 Did you ever solve this issue. I have got the same issue now. can you please advise. Many thanks Nick Link to comment Share on other sites More sharing options...
venkatrv Posted July 13, 2021 Share Posted July 13, 2021 Look for Locations->countries -> and activate the country - Preatashop 1.7 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now