Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Managing Customers and Orders / payflow pro - how can I stop display of card number?

payflow pro - how can I stop display of card number?

Locked

Started by fvb on 2 Jun 2010, 1:28 AM · Views: 1,085

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
2 Jun 2010, 1:28 AM
#1
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Post #1 by fvb

I running zencart 1.3.8a (will be upgrading soon)
We have had a few customer complain that there CC number shows up on step 3 of 3 of the order conformation
Is there any way to turn that off?

2 Jun 2010, 8:26 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,761
Plugin Contributions:
0

Post #2 by Kim

On the confirmation page, there should only be a partial number showing - Are your customers saying the whole number is shown? What Payment gateway are you using?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

2 Jun 2010, 12:37 PM
#3
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Post #3 by fvb

Kim:

On the confirmation page, there should only be a partial number showing - Are your customers saying the whole number is shown? What Payment gateway are you using?

its a partial number, but I guess some customer do not like that, and view it a a security risk

we are useing PayPal Pro

2 Jun 2010, 2:43 PM
#4
drbyte avatar

drbyte

Sensei

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

Post #4 by drbyte

The partial numbers (4 starting digits and 4 trailing digits) are acceptable according to official credit card industry regulations, and do not pose any quantifiable security risk.
However, if you are running your site without SSL (ie: using https:// URL) then you have a completely different and very real security problem.

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

2 Jun 2010, 5:33 PM
#5
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Post #5 by fvb

DrByte:

The partial numbers (4 starting digits and 4 trailing digits) are acceptable according to official credit card industry regulations, and do not pose any quantifiable security risk.
However, if you are running your site without SSL (ie: using https:// URL) then you have a completely different and very real security problem.

we have SSL, just would like to remove the partial numbers to make our customer (who do not know the official credit card industry regulations) feel more comfortable

2 Jun 2010, 5:38 PM
#6
drbyte avatar

drbyte

Sensei

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

Post #6 by drbyte

Is this just one one-time customer complaining or is this hundreds of repeat customers complaining?

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

2 Jun 2010, 11:18 PM
#7
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Post #7 by fvb

DrByte:

Is this just one one-time customer complaining or is this hundreds of repeat customers complaining?

maybe a half dozen... so far
I take it this is something that I can't turn off?

2 Jun 2010, 11:35 PM
#8
drbyte avatar

drbyte

Sensei

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

Post #8 by drbyte

Sure, feel free to hack the following out of the code ... just remove these lines, around line 375: ```
array('title' => MODULE_PAYMENT_PAYFLOW_TEXT_CREDIT_CARD_NUMBER,
'field' => substr($_POST['paypalwpp_cc_number'], 0, 4) . str_repeat('X', (strlen($_POST['paypalwpp_cc_number']) - 8)) . substr($_POST['paypalwpp_cc_number'], -4)),

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

4 Jun 2010, 1:00 PM
#9
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Post #9 by fvb

DrByte:

Sure, feel free to hack the following out of the code ... just remove these lines, around line 375: ```
array('title' => MODULE_PAYMENT_PAYFLOW_TEXT_CREDIT_CARD_NUMBER,
'field' => substr($_POST['paypalwpp_cc_number'], 0, 4) . str_repeat('X', (strlen($_POST['paypalwpp_cc_number']) - 8)) . substr($_POST['paypalwpp_cc_number'], -4)),

 
I guess I agree with you, 
thanks for the input, and the option to disable it
now I just have to decide what to do
4 Jun 2010, 1:19 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #10 by gjh42

Or you might want to do as some stores do and show only the last four numbers. This will still let the customer know which card is being used.```php
array('title' => MODULE_PAYMENT_PAYFLOW_TEXT_CREDIT_CARD_NUMBER,
'field' => str_repeat('X', (strlen($_POST['paypalwpp_cc_number']) - 4)) . substr($_POST['paypalwpp_cc_number'], -4)),

You might change the Xs to something like "card ending with ".