I have found many similar posts to this but can't find anything that specifically answers my question. Apologies if this has been answered before.
I have a customers OpenCart site that only allows delivery to the UK. Payments are only taken through PayPal Payments Standard.
If a customer resides outside the UK but wishes to make a purchase for delivery inside the UK they are not given any payment options as payment method options are specific to customers address GeoZone not delivery address GeoZone. In this circumstance the customer just sees 'Warning: No Payment options are available. Please contact us for assistance!' in the payment method box in checkout.
How do I get payment methods to look at delivery address, not customer address, when deciding which payment methods are available? I don't think that I should change $order_info['payment_ to $order_info['shipping_ in /catalog/controller/payment/pp_standard.php as this will pass the wrong payment details to PayPal. I need to change the code that decides which address to use when deciding payment methods.
Many thanks for reading this post. I hope you have the answer for me.
If you set PayPal to be available everywhere, then you could use Restrict Payment Methods to limit when it's enabled, based on the shipping address. You'd set up a restriction like this:
Payment Methods: PayPal
Rule: Location Comparison is Shipping Address
Rule: Geo Zone is UK
Payment Methods: PayPal
Rule: Location Comparison is Shipping Address
Rule: Geo Zone is UK
Who is online
Users browsing this forum: No registered users and 1 guest