Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / How do I allow customers to pay cash upon pickup at store?

How do I allow customers to pay cash upon pickup at store?

Locked

Views: 4,682

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
5 Aug 2008, 7:35 AM
#1
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

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

10 Aug 2008, 7:44 AM
#2
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

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.

10 Aug 2008, 4:43 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

10 Aug 2008, 7:41 PM
#4
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

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!

10 Aug 2008, 9:04 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

10 Aug 2008, 9:32 PM
#6
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

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!

10 Aug 2008, 10:33 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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:

      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:

11 Aug 2008, 5:27 AM
#8
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

Re: How do I allow customers to pay cash upon pickup at store?

Thank you so much!!!!!!!! You are an angel!!!!!

11 Aug 2008, 2:55 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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 ...

29 Nov 2010, 12:35 AM
#10
distroman avatar

distroman

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

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:

29 Nov 2010, 2:13 AM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How do I allow customers to pay cash upon pickup at store?

The bigger problem is ... I haven't a clue what your question really is and what your problem really is ...

You need to spell out the problem that you are having and what it is you are trying to do as if we have never seen your shop and have no clue what it is you want to do ... :unsure:

29 Nov 2010, 5:50 AM
#12
distroman avatar

distroman

New Zenner

Join Date:
Nov 2010
Posts:
5
Plugin Contributions:
0

Re: How do I allow customers to pay cash upon pickup at store?

Oh, sorry, but more of a statement than a request for help as I have already asked in this thread:

http://www.zen-cart.com/forum/showthread.php?t=169087

So far, no love. :no: