Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Credit Card Via Phone?

Credit Card Via Phone?

Locked

Views: 2,206

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
17 Jan 2008, 4:46 PM
#1
fastcar avatar

fastcar

New Zenner

Join Date:
Dec 2007
Posts:
28
Plugin Contributions:
0

Credit Card Via Phone?

A lot of my customers like to pay directly over the phone with me (as it is sometimes easier/more comfortable for them). I would like to know if there is a payment module that allows the customer to checkout through my site, but pay via the phone?

17 Jan 2008, 5:19 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Credit Card Via Phone?

You could change the wording on the "check" payment module. This would create a pending transaction awaiting your confirmation.

18 Jan 2008, 1:09 AM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,686
Plugin Contributions:
56

Re: Credit Card Via Phone?

... or perhaps the Invoice module, if you wished to restrict this ability to only certain customers.

Good luck,
Scott

18 Jan 2008, 8:39 AM
#4
fastcar avatar

fastcar

New Zenner

Join Date:
Dec 2007
Posts:
28
Plugin Contributions:
0

Re: Credit Card Via Phone?

kuroi:

You could change the wording on the "check" payment module. This would create a pending transaction awaiting your confirmation.

Sounds like something that could work, however, I'd also like to keep the 'check' payment module active too. Are there any guides or howto's on how I could go about cloning a module?

19 Jan 2008, 3:41 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Credit Card Via Phone?

Cloning can be done in many ways on the shipping and payment modules ...

The easiest method is to take the name, such as: moneyorder

And make a new name such as:
moneyorderbyphone
byphone
fred

and copy the files:
/includes/modules/payment/moneyorder.php
/includes/languages/english/modules/payment/moneyorder.php

and copy to the new name such as:
/includes/modules/payment/moneyorderbyphone.php
/includes/languages/english/modules/payment/moneyorderbyphone.php

Then edit the new files and replace all moneyorder with moneyorderbyphone and MONEYORDER with MONEYORDERBYPHONE ...

Then you can customize the language file to read as you would like to see it ...

bing bang boom ... and you have cloned a payment module ... :cool:

14 Mar 2008, 1:17 AM
#6
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: Credit Card Via Phone?

I did this and it worked great!! I did end up with a small vestige error showing up on the checkout page when a customer has selected the "Credit Card by Telephone" option. I have no idea where the number comes from. Here is zen/includes/language/english/functions/phoneorder.php file:

<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | | // | <http://www.zen-cart.com/index.php> | // | | // | Portions Copyright (c) 2003 osCommerce | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the GPL license, | // | that is bundled with this package in the file LICENSE, and is | // | available through the world-wide-web at the following url: | // | <http://www.zen-cart.com/license/2_0.txt>. | // | If you did not receive a copy of the zen-cart license and are unable | // | to obtain it through the world-wide-web, please send a note to | // | [email protected] so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // $Id: moneyorder.php 1969 2005-09-13 06:57:21Z drbyte $ // define('MODULE_PAYMENT_PHONEORDER_TEXT_TITLE', 'Credit Card by Telephone'); define('MODULE_PAYMENT_PHONEORDER_TEXT_DESCRIPTION', 'You may telephone me with your credit card information:<br />' . MODULE_PAYMENT_PHONEORDER_PAYTO . '<br /><br /> <br />' . nl2br(919-217-8060) . '<br /><br />' . 'Order usually ships within one to two business days.'); define('MODULE_PAYMENT_PHONEORDER_TEXT_EMAIL_FOOTER', "Telephone your information to:" . "\n\n" . MODULE_PAYMENT_PHONEORDER_PAYTO . "\n\nTelephone your information to:\n" . 919-217-8060 . "\n\n" . 'Order usually ships within one to two business days.'); ?>

and here is the result: (vestige number circled in red)

14 Mar 2008, 10:29 PM
#7
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: Credit Card Via Phone?

Attachment #3575

Sorry about the lost attachment.

16 Mar 2008, 5:48 AM
#8
eaprandy avatar

eaprandy

New Zenner

Join Date:
Mar 2008
Posts:
11
Plugin Contributions:
0

Re: Credit Card Via Phone?

You're missing some quotes around the last phone number in the last define. Therefore the numbers are being treated as a subtraction problem. :smile:

Slap some quotes around it so the phone number is treated literally and your negative number should go bye-bye.

17 Mar 2008, 12:39 AM
#9
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: Credit Card Via Phone?

terrific! sometimes the obvious is beyond me! many thanks!