Forums / Addon Payment Modules / use credit card as default setting as payment method?

use credit card as default setting as payment method?

Locked

Views: 6,941

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
27 Apr 2007, 6:04 PM
#1
nanosafeguard avatar

nanosafeguard

New Zenner

Join Date:
Apr 2007
Posts:
38
Plugin Contributions:
0

use credit card as default setting as payment method?

Hi,

I know this must be easy, but not able to find the place to activate this.

I would like the radio button at credit card to be checked, when a customer is presented with my payment methods in step 2 of the order process. I have 3 different methods (credit cards, paypal IPN and paypal express). Please help

Small technology. Big effect. www.NanoSafeguard.com

27 Apr 2007, 10:42 PM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: use credit card as default setting as payment method?

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

28 Apr 2007, 4:25 AM
#3
nanosafeguard avatar

nanosafeguard

New Zenner

Join Date:
Apr 2007
Posts:
38
Plugin Contributions:
0

Re: use credit card as default setting as payment method?

Perfect.... Exactly what I wanted... and it worked. (-: Thanks Ryk

Small technology. Big effect. www.NanoSafeguard.com

28 Apr 2007, 6:42 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: use credit card as default setting as payment method?

Keep in mind that starting in v1.3.7, as soon as the customer clicks inside a credit-card-number field to start typing their CC number, the radio button will be auto-selected.
Perhaps you don't need to make an edit after all ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Apr 2007, 8:50 AM
#5
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: use credit card as default setting as payment method?

That's not really intuitive to the user though is it? Nor is it what people have asked for, which is that a payment method (doesn't have to be cc) can be pre-selected as the default.

May I suggest that the dev team incorporate this code to the core?

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

30 Apr 2007, 3:14 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: use credit card as default setting as payment method?

If I entered all my credit card info to fail on forgetting to check the radio button I'd be very unhappy ... :cry:

The new feature ensures that this does not happen, I believe is the point DrByte is making ...

We will look into defaults on payment modules ... problem is ... let's add in a few zones to enable and disable them ... now who's the default? :eek:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

30 Apr 2007, 7:20 AM
#7
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: use credit card as default setting as payment method?

As far as I understand it, the code from the post above merely pre-selects the first displayed payment option by sort order, so if a payment option is not available for a zone then it wouldn't be displayed - would it?

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

1 May 2007, 5:04 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: use credit card as default setting as payment method?

Not sure ... I haven't tried it ...

Be sure to test with changing addresses that would cause the previously selected payment module to vanish and does it re-select the next payment module or does it think that the first one is still selected ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Sep 2007, 5:07 PM
#9
wapnoj avatar

wapnoj

New Zenner

Join Date:
Oct 2006
Posts:
65
Plugin Contributions:
0

Re: use credit card as default setting as payment method?

DrByte:

Keep in mind that starting in v1.3.7, as soon as the customer clicks inside a credit-card-number field to start typing their CC number, the radio button will be auto-selected.
Perhaps you don't need to make an edit after all ?

Does this actually work I am using 1.3.7 and it does not work that way on my site.

thanks
JON

26 Sep 2007, 5:54 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: use credit card as default setting as payment method?

Yes - it works very well on all the sites my clients run.

If it's not working, then your browser may have javascript disabled or the methodSelect() function might be missing in your /includes/modules/pages/checkout_payment/jscript_main.php file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

27 Sep 2007, 4:12 PM
#11
wapnoj avatar

wapnoj

New Zenner

Join Date:
Oct 2006
Posts:
65
Plugin Contributions:
0

Re: use credit card as default setting as payment method?

HHMMM Method select is there for sure and java is enabled. tried on many computers ansd many browsers and still have yet to see this function work. Im using 1.3.7...do I need an update?

27 Sep 2007, 10:06 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: use credit card as default setting as payment method?

What payment modules are you using?
What's your site URL ?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.