- Posts: 121
- Thank you received: 2
Restricting zones further for COD payments
- andrewwinkler
-
Topic Author
- Offline
-- Joomla version -- : 3.9.24
-- PHP version -- : 7.3.25
-- Browser(s) name and version -- : Firefox
I need to restrict the payment method "collect on delivery" further than just "Western Australia" because that state makes up one third of the entire continent. I need to restrict the payment method to Perth's metropolitan area, for example by postcodes or regions. How can I achieve that with Hikashop?
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
We just added a new "Post code RegEx" option through the payment configuration page, which will enable you to directly control the use of your payment method thanks to a RegEx based on your customer address's post code.
To use it you'll have to download the last Hikashop version through our website and install it.
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
- andrewwinkler
-
Topic Author
- Offline
- Posts: 121
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
It will actually depends on what you exactly mean by post codes of "local customers", can you give us more information about it so that we can properly advise you ? Thank you.
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
- andrewwinkler
-
Topic Author
- Offline
- Posts: 121
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Well, that option will only restrict payment method based on a RegEx of your customer address post code.
If you want to restrict the use of your payment methods to a region, a solution can be to :
- Use that kind of shipping method www.hikashop.com/marketplace/product/250...shipping-plugin.html
- Restrict the use of your payment methods to that shipping method, through the "Shipping method" option of your payment method's configuration page.
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
- andrewwinkler
-
Topic Author
- Offline
- Posts: 121
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
In that case you'll just have to set the post code RegEx, option of your payment method to : #^(600[0-9]|60[1-9][0-9]|61[0-9]{2})$#That way I can restrict COD payments to customers with a delivery address postcode between 6000 - 6199
However, I want those customers outside that area only to be able to select delivery by Australia Post. How can I do that?
Can you give us more information about it ? Do you want a shipping method to be available only if your customer delivery address have a :
- Country set to Australia
- Post code different than 6000 - 6199
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
- andrewwinkler
-
Topic Author
- Offline
- Posts: 121
- Thank you received: 2
I want all customers with a delivery address inside Australia to be able to select Australia Post as delivery method. Those customers have to pay by card (square). However, customers who wants delivery to an area with the postcode between 6000 and 6199, I want them also to be able to select "Driver" as delivery method. In that case, I want them to have the option to pay cash on delivery rather than paying by card when placing the order.
Customers who live outside of Australia, I don't want to be able to order at all.
My main problems, right now, are the following:
1. If a customer has a delivery postcode between 6000 and 6199, he automatically gets the "Driver" delivery method assigned to him, with no option to change it to Australia Post. I want him to be able to choose between the two.
2. I want customers with a delivery postcode between 6000 and 6199 not only to be able to chose between "Driver" and "Australia Post" as a delivery method, but also be able to chose between "COD" and "Square" if they chooses "Driver". If they choose "Australia Post", obviously, they should only be able to pay with "Square".
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
We'll actually need more information about how your website is configured as we don't even know what the "Driver" and "Australia Post" delivery methods are and how you configured them.
Can you send us a temporary back-end access to your website using our contact form please ? Please, don't forget to add a link to that thread in your message :
www.hikashop.com/support/contact-us.html
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
- andrewwinkler
-
Topic Author
- Offline
- Posts: 121
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
1. Thanks for the temporary back-end access, we just checked how you configured your payment and shipping methods, and it seems you actually don't have any "Driver" shipping methods and that your "Australia post" shipping method is unpublished, that's probably why they don't have access to that shipping method.
2.
I want customers with a delivery postcode between 6000 and 6199 not only to be able to chose between "Driver" and "Australia Post" as a delivery method, but also be able to chose between "COD" and "Square" if they chooses "Driver". If they choose "Australia Post", obviously, they should only be able to pay with "Square".
In that case you should :
- Remove the "Shipping method" option through the "COD" payment configuration page
- Set the "Shipping method" option to "Australia Post" through the "Square" configuration page.
- Publish the "Australia Post" shipping method via "Hikashop->System->Shipping methods"
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
- andrewwinkler
-
Topic Author
- Offline
- Posts: 121
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
When a new client, who has not yet registered and logged in, goes to checkout, he gets a "no shipping method" warning, i.e. he cannot place the order. That means lost business. How can I best avoid it?
It's actually happening because non-logged in users don't have any shipping address, so no shipping method can be available as you restricted them to a defined zone (shipping address).
The solution is to edit your checkout workflow and properly separate login/address actions from the shipping one through different checkout steps via "Hikashop->System->Configuration->Checkout".
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.
- andrewwinkler
-
Topic Author
- Offline
- Posts: 121
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Because the Australia Post shipping platform will need your customer's order products dimensions/weight and shipping address to properly return available rates according to these informations. Else, the Australia Post shipping platform will respond with an error message saying that they can't estimate shipping rates if they don't have all the required data.
Kind regards,
Mohamed.
Please Log in or Create an account to join the conversation.