Forums / Addon Payment Modules / Remove CVV box from CEON Payment Module?

Remove CVV box from CEON Payment Module?

Locked
Results 1 to 11 of 11
This thread is locked. New replies are disabled.
28 Apr 2010, 00:15
#1
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Posts:
460
Plugin Contributions:
0

Remove CVV box from CEON Payment Module?

Hi All,

I am using Zen-cart Version 1.3.9a, fresh install.
The new version doesn't have CC module so had to install ceon's module instead!

How can I disable the CVV from the module?

I DON'T want my customers to give me that info!

Please advise!


Best Regards,
29 Apr 2010, 01:31
#2
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Posts:
460
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

Hi Conor, how are you?

Thank you for your Mod :)
It is certainly needed now that 1.3.9a doesn't come with one!

I posted this in another thread as I didn't notice this one, but still don't have an answer!

Can you Please tell me how to remove the CVV from the payment page, I Don't Want the CVV and rather Not have that option on the payment page, but cannot figure out how to remove it, I thought removing it would have been an option since Zen-cart had it?

Also, I am getting the first and last four digits of the CC emailed to me in order confirmation email, DrByte said it should be only be the last four, is your Mod somehow sending that info?
If yes, how can I stop that?

I only want the middle 8 digits emailed to me, nothing else.

Please, any help is greatly appreciated.

Best Regards,
01 May 2010, 00:12
#3
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

rlexyd:

Hi Conor, how are you?

Thank you for your Mod :)
It is certainly needed now that 1.3.9a doesn't come with one!

I posted this in another thread as I didn't notice this one, but still don't have an answer!

Can you Please tell me how to remove the CVV from the payment page, I Don't Want the CVV and rather Not have that option on the payment page, but cannot figure out how to remove it, I thought removing it would have been an option since Zen-cart had it?

I only want the middle 8 digits emailed to me, nothing else.

Please, any help is greatly appreciated.

Best Regards,



To completely remove the CVV delete these lines in includes/modules/payments/ceon_manaul/card.php and in this order or the line numbers will not match up

704 to 729 Delete All Lines
751 to 765 Delete All Lines
839 to 860 Delete All Lines

This way, not even the CVV box will show and you won't get an error message.
I'll try to work on the e-mail part next.

Remember, BACKUP your Files BEFORE changing anything!
01 May 2010, 01:09
#4
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Posts:
460
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

:clap::clap: JT, your are a True GENIUS :clap::clap:

I am so happy that the CVV is no longer in the Checkout Page, thanks to you :)

Thank You so much JT :D

Please PM me your PayPal email address for a small thank you token.

Conor (Ceon) said it needed a lot of re-coding to do take the CVV out from the Mod, but you found a GREAT, Simple and Free work around! Cheerz :)

I am sure a lot of Zenners will be happy with your instructions, I know I am!

Hope you can figure out the CC email issue :)
I'll be checking this post for any updates.

Best Regards,
01 May 2010, 02:25
#5
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

rlexyd:

Hi Conor, how are you?

Thank you for your Mod :)
It is certainly needed now that 1.3.9a doesn't come with one!

Also, I am getting the first and last four digits of the CC emailed to me in order confirmation email, DrByte said it should be only be the last four, is your Mod somehow sending that info?
If yes, how can I stop that?

I only want the middle 8 digits emailed to me, nothing else.

Please, any help is greatly appreciated.

Best Regards,


The easiest way to not have it send you the Credit Card first 4 and last 4 info is to remove your e-mail address in the admin/configuration/email options :
Send Copy of Order Confirmation Emails To
Leave it blank and No-Email is sent, just the one with the extra digits. It has the order number on it, so you will know that an order has been placed and what it's number is.
01 May 2010, 05:11
#6
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Posts:
460
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

Hi JT,

Thank you once again, still can't believe CVV is long gone :) :)

As for the first and last four CC digits being emailed, I thought of what you said, but the only problem the customer is still being emailed those details!
I know it's ok, but I really rather not have any CC details via email other the middle 8 digits!

DrByte said the details are in the 1.3.9av, /includes/classes/order.php but can't figure what to take out!!

If you ever happen to find a way, please let me know :)

Best Regards,
01 May 2010, 10:57
#7
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

rlexyd:

Hi JT,

Thank you once again, still can't believe CVV is long gone :) :)

As for the first and last four CC digits being emailed, I thought of what you said, but the only problem the customer is still being emailed those details!
I know it's ok, but I really rather not have any CC details via email other the middle 8 digits!

DrByte said the details are in the 1.3.9av, /includes/classes/order.php but can't figure what to take out!!

If you ever happen to find a way, please let me know :)

Best Regards,


OK, remove this line at or near 990 in /includes/classes/order.php:
$cc_num_display = (isset($this->info['cc_number']) && $this->info['cc_number'] != '') ? /*substr($this->info['cc_number'], 0, 4) . */ str_repeat('X', (strlen($this->info['cc_number']) - 8)) . substr($this->info['cc_number'], -4) . "\n\n" : '';


With this line removed, the customers email will only show

Payment Method

Credit/Debit Card

Visa

REMEMBER, Always BACKUP before you change any file!
01 May 2010, 12:25
#8
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Posts:
460
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

Hi JT,

Just wondering, do you eat a lot of brain food?

You are a Genius :smartalec:

Again, your solution fixed these problems with ease, I still can't believe it!

Your solutions should be included in the CEON CC Module, for other who might want the same thing!
Hiding those details enhanced my website safety :)

I cannot thank you a enough JT :clap:.

Please PM me your PayPal email!!

Since you are a genius, would you know which part of the database I need to drop to remove the remaining credit card details, I would only do that every month or so to make sure they don't stay on there if it's possible :)

Best Regards,
01 May 2010, 15:20
#9
jtheed avatar

jtheed

Zen Follower

Join Date:
Apr 2008
Posts:
356
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

rlexyd:

Hi JT,

Just wondering, do you eat a lot of brain food?

You are a Genius :smartalec:

Again, your solution fixed these problems with ease, I still can't believe it!

Your solutions should be included in the CEON CC Module, for other who might want the same thing!
Hiding those details enhanced my website safety :)

I cannot thank you a enough JT :clap:.

Please PM me your PayPal email!!

Since you are a genius, would you know which part of the database I need to drop to remove the remaining credit card details, I would only do that every month or so to make sure they don't stay on there if it's possible :)

Best Regards,



Ahh, no I'm no genius, I just have some ability to follow logic. No Payment is required or asked for.

If you want to blank out the cc #'s and CVV (CVV's are in BLOB format, so you don't actually see the numbers, you just see BLOB) enter this in your admin screen under Tools - Install SQL Patches. If you DROP the table, you will lose ALL order info and you do not want to do that!

UPDATE orders SET cc_number = NULL, cc_cvv = NULL WHERE cc_number > ' ';


This will blank both fields (CVV will still show BLOB because it's in binary format).

I'll see if I can add this as a utility in the Admin Tools Section under STORE Manager, but in the meantime, you now have a way to do what you want.

Remember, Always BACKUP your files and DB before any modifications.
02 May 2010, 00:53
#10
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Posts:
460
Plugin Contributions:
0

Re: Remove CVV box from CEON Payment Module?

Hi JT,

I added the Reset button for previous CC and CVV info in Admin Tools - Store Manager section, by following the instruction in your thread @:
http://www.zen-cart.com/forum/showthread.php?t=154022

Worked like a charm :)

Thank you once again JT :)

Best Regards,
15 May 2010, 21:45
#11
conor avatar

conor

Passed

Join Date:
Aug 2004
Posts:
2,480
Plugin Contributions:
3

Re: Remove CVV box from CEON Payment Module?

Hi,

rlexyd:

How can I disable the CVV from the module?


I've added a new option in the newly released version 2.2.0 which allows you to disable the CVV field altogether.

Hope you like it as you were the reason I added it!

All the best...

Conor
ceon