How do I allow customers to pay cash upon pickup at store?
Hi,
I have several options in my store for shipping and paying. One is payment on delivery and another one is pick up and pay cash at the store. Also I have several other methods but they are not the issue here.
What the issue is is that after choosing the shipping method, people still get taken to the screen to select the payment method. While pay on delivery or cash on pick up are already payment methods. Next to that, to make it more confusing, they get the whole load of payment options.
So if someone choose to pay on delivery they can still select pay pal as their payment method :wacko:
So if anyone knows how to solve this I would be very happy (and the customers would be less confused...lol )
Thank you in advance
Juliet van Ree
Re: How do I allow customers to pay cash upon pickup at store?
Is there anybody who knows the answer, please? I'm really desperate.
Re: How do I allow customers to pay cash upon pickup at store?
You could clone the Check/Money Order moneyorder Payment Module then customize it to only display if the shipping method is Store Pickup ...
Re: How do I allow customers to pay cash upon pickup at store?
I'm going to give that a try... I'm not sure how but it's a good way too learn. Thank you for your advice!
Re: How do I allow customers to pay cash upon pickup at store?
Hint: you need to control the
$this-enabled
When that evaluates to true the module shows, when it evaluates to false the module does not show ...
$_SESSION['shipping']['id']
with give you the shipping method in the format of:
item.php = item_item
flat.php = flat_flat
storepickup.php = storepickup_storepickup
NOTE: while that appears to be the name of the file, be careful ... USPS Parcel is from the usps.php but that selection gives:
usps_PARCEL
NOTE: just because it works in the Catalog, do not assume it works still in the Admin ... check by going to Modules ... Payments ... to make sure you don't break your new payment module that you are trying to make ...
Re: How do I allow customers to pay cash upon pickup at store?
Thank you very much, this is very helpfull. I'm going to try to make the adjustments!
Re: How do I allow customers to pay cash upon pickup at store?
Times up ... :eek:
Did you find that if this were the Check/Money Order moneyorder payment module that you could use:
PHP Code:
if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
$this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true : false);
}
Now just adjust that for your cloned payment module ... :cool:
Naturally you figured out to clone the moneyorders.php that all of the references to:
moneyorder become somethingelse
and all the references to MONEYORDER become SOMETHINGELSE ...
If you are breaking out in a sweat ... stand up, walk around ... grab a Pepsi (or other vital drink here) and take a few deep breaths ... :lamo:
Re: How do I allow customers to pay cash upon pickup at store?
Thank you so much!!!!!!!! You are an angel!!!!!
Re: How do I allow customers to pay cash upon pickup at store?
Glad that this is able to work for you on your Store Pickup with the Pay at the Store when picking up the order ...
Re: How do I allow customers to pay cash upon pickup at store?
This is still a problem in 1.39h
The bigger problem for me is that your solution goes straight over my head. Any help would be appreciated. :hug: