Piotr Kaczor Posted January 18, 2014 Share Posted January 18, 2014 (edited) Hello I've problem with payments methods when customer change address in "one step checkout". If address is in different zone than first one (but I'm not sure is it the key). Especially if there's "Cash on delivery" for that first address zone carrier (I'm using Ship2Pay). For second address carrier are display wrong payments methods ($context->cart->id_carrier is set to wrong id so Ship2Pay grabs wrong payments methods) I've this problem in my shop and in clear PrestaShop 1.5.6.1. Did someone know any informations or tips about that situation? It's very difficult problem when someone from "far far away" country place order with "Cash on delivery" payment method selected. How to re-create that behaviour: Create new zone Put "UK" in it Create new carrier and activate it and put price only for that new zone Install "Cash on delivery" payment method Install Ship2Pay Set in Ship2Pay only "BankWire" for that new carrier and all options for other carriers Grab some products in Your cart Go to "one step checkout" and log in Create new address in UK Refresh page when non UK address is selected Change address for that in UK zone On my system there are wrong payment methods, like "cash on delivery" but there should be only BankWire. I'm was trying to Debug it so I find that Ship2Pay works, it grab $context->cart->id_carrier and return good payments for that ID. But somewhere that Context is defined with wrong data for id_carrier. And when You refresh page, the payment methods are correct. Thank You for any advice or help. Best Regards Edited January 18, 2014 by Piotr Kaczor (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted November 24, 2014 Share Posted November 24, 2014 Witaj Piotr, zdaje sie że mam podobny problem do twojego otóż w ship2pay mam włączone inne zakresy niż w potwierdzeniu zamówienia, nie wiem co jest tego powodem. Wydaje mi się że problem leży w module COD. Presta 1.5.6.0 A teraz po anielsku co by inni zrozumieli [ENGLISH] Hi, I've got similar problem. In order confirmation is showing wrong carrier method. I think the problem is in COD module. Maybe somebody have the same issue? Link to comment Share on other sites More sharing options...
Piotr Kaczor Posted November 24, 2014 Author Share Posted November 24, 2014 (edited) Hello, it's hard to remember, but I had to add new function in jQuery that was triggered by address field selection change (id="id_address_delivery" and id="id_address_invoice"). This function was upgrading address in cart. That's All I can remember. Best regards Edited November 24, 2014 by Piotr Kaczor (see edit history) 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