koala77 Posted November 25, 2016 Share Posted November 25, 2016 Hi, couldn't find similar topic or problem anywhere. My problem is, that if shipping and billing addresses are different, the one connected with payment method is a shipping address, which makes no sense. I want to use bank transfer only in my country. Many people live abroad now or have friends there, but still, have their bank accounts in origin country and it's the easiest and most popular payment method. Is there any way to connect billing/invoice address with payment methods (all of them)? Link to comment Share on other sites More sharing options...
bellini13 Posted November 26, 2016 Share Posted November 26, 2016 perhaps it is an issue with the payment module you are using? Where exactly are you seeing the 'the one connected with payment method is a shipping address'? Link to comment Share on other sites More sharing options...
koala77 Posted November 26, 2016 Author Share Posted November 26, 2016 perhaps it is an issue with the payment module you are using? Where exactly are you seeing the 'the one connected with payment method is a shipping address'? I'm using standard Prestashop bank wire module. When I set my addresses in my account or during a checkout process and one is domestic and the second is not, I can see bank wire only if the shipping address is domestic. I see it while making an order. Link to comment Share on other sites More sharing options...
bellini13 Posted November 27, 2016 Share Posted November 27, 2016 What version of Prestashop and what version of the bankwire module? Link to comment Share on other sites More sharing options...
koala77 Posted November 30, 2016 Author Share Posted November 30, 2016 What version of Prestashop and what version of the bankwire module? Prestashop 1.6.1.9, bank wire 1.1.2 Link to comment Share on other sites More sharing options...
bellini13 Posted December 1, 2016 Share Posted December 1, 2016 so i explored this, and the answer is surprising. it has always worked this way, even back in PS v1.5 I had assumed it was tied to the billing address, but it really is associated to the delivery address. Link to comment Share on other sites More sharing options...
MichaelTeyssier Posted July 19, 2020 Share Posted July 19, 2020 Have you found a trick to retrieve the billing address ? I tried the following but I still get the shipping address : public function hookPaymentReturn($params) { if (!$this->active) return; $state = $params['objOrder']->getCurrentState(); if (in_array($state, array(Configuration::get('PS_OS_BANKWIRE'), Configuration::get('PS_OS_OUTOFSTOCK'), Configuration::get('PS_OS_OUTOFSTOCK_UNPAID')))) { $billing_address = new Address($this->context->cart->id_address_invoice); Any idea could really help me. 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