Jump to content
Sign in to follow this  
bmcewan

[Contribution] CC_CVV_start date plus credit card blacklist

Recommended Posts

Following a request for this feature i have incorporated Mark Evans Credit Card Blacklist mod into the my CC module and added admin functionality to allow addition and deletion of credit card numbers via the admin panel.

 

enjoy

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

i suppose a link would be a good idea....

 

here you go.....

 

http://www.oscommerce.com/community/contributions,868

 

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

additionaly this is set up on my test server

 

www.mainframes.co.uk/test/default.php

 

use cc no.

 

4000000000000002

 

with any valid start and expiry dates

cvv 123

 

no need for issue number though.

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

First of all thanks for releasing this mod

 

is this MOD only for UK or ?

 

the name is confusing me

 

04/09/2003 - CC_CVV+UK Switch v 1.3 with Card Blacklist+Admin

 

Also is it a required option the CVV input ?


Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Share this post


Link to post
Share on other sites

it can be used anywhere, you would need to take out the input box for the issue number as that is the only uk thing.

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

the cvv requirement can be turned off in the admin section and it is automatically filled with 000.

 

for the missing language define add

 

define('TEXT_CCVAL_ERROR_SHORT', 'You have not entered the correct amount of digits. Please ensure you have entered all of the long number displayed on the front of your card');

to catalog/includes/languages/english.php

 

i will also update this in the contribution.

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

I have uploaded an update that allows the admin to control whether the cvv and issue number is collected or not. When either or both of the options are turned off in admin their respective input boxes are not shown on the checkout pages.

 

http://www.oscommerce.com/community/contri...ons,1148/page,2

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

i get the following when i goto

tools then blacklist

 

 

 

Blacklisted Credit Cards

 

Blacklisted Cards Action

1054 - Unknown column 'date_added' in 'field list'

 

select blacklist_id, blacklist_card_number, date_added, last_modified from card_blacklist order by blacklist_id limit 0, 20

 

[TEP STOP]

 

 

 

i have imported the sql but it does not have those columns.

 

 

----SQL--Query----

 

ALTER TABLE orders ADD cc_start varchar(4) default NULL AFTER cc_expires,

ADD cc_issue varchar(3) default NULL AFTER cc_start,

ADD cc_cvv varchar(3) default NULL AFTER cc_issue;

 

CREATE TABLE card_blacklist (

blacklist_id int(5) NOT NULL auto_increment,

blacklist_card_number varchar(20) NOT NULL default '',

KEY blacklist_id (blacklist_id)

);

 

 

whats the missing sql query

Share this post


Link to post
Share on other sites

sorry, just realised about that one...

 

will update the readme.

 

apologies

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

Hiya I have a problem,

Whenever I enter a VISA card - it shows up as JCB!!!

 

:(

 

Warren

Share this post


Link to post
Share on other sites

Update ---- sorts the create table error and add enable/disable start date collection.

 

http://www.oscommerce.com/community/contributions,1148

 

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

I get this error in /modules/payment in the admin area.

It shows the little arrow and the edit button

 

Warning: call_user_func(tep_get_order_status_name) [function.call-user-func]: First argument is expected to be a valid callback in /home/v1cafe/public_html/shop/admin/includes/functions/general.php on line 1232

 

When I click the edit button it shows this error

 

Fatal error: Call to undefined function: tep_cfg_pull_down_order_statuses() in /home/v1cafe/public_html/shop/admin/modules.php(204) : eval()'d code on line 1

 

I see all of the new stuff to edit but I just get errors.

Any Ideas of where to start

Thanks


I WILL master this thing yet!!!

-------------------------

I hope

Share this post


Link to post
Share on other sites

what release are you using?

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

Do you have any other mods installed

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

Off topic , Barry , but whats that contribution your using in your cart box , where the shipping rates are shown with relation to the weight ?

 

I like that :wink:

 

Thanks

Share this post


Link to post
Share on other sites

It aint a contribution, just added it myself.

:wink:

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

I assume that you have follwed the readme install file to the letter...

 

Restore your backup and make sure that your store works WITHOUT this mod, then try installing again.

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

I did follow it to the letter except the button for removal of CC info.

Is that a MUST .

I didn't install that part because I thought it was an optional item.

 

That part is the only thing I can think of that wasn't done exaclty to specification....

 

Thanks

JR


I WILL master this thing yet!!!

-------------------------

I hope

Share this post


Link to post
Share on other sites

I am thinking that leaving that one part out shouldn't be a problem, but in my opinion it is a good security feature otherwise you would be leaving customers financial details in your db.

 

On your problem though....

It looks like there might be a problem with the function definition. :?

 

 

 

cheers

barry


"A lie gets halfway around the world before the truth has a chance to get its pants on."

 

"I don't want to achieve immortality through my work; I want to achieve immortality through not dying."

Share this post


Link to post
Share on other sites

Function Definition

 

You just spoke a foreirgn language.

I got a better idea.

I'll PM you


I WILL master this thing yet!!!

-------------------------

I hope

Share this post


Link to post
Share on other sites

Barry

 

I only just picked up on this mod of yours, and have one question.

 

Which version is this designed to work on?

Is it MS1 compatible only?

Or will it work ok with a snapshot from December 2002?

 

I have someone who would like this on their site, but theirs is based on the Dec '02 snapshot, so I want to make sure the latest should work ok.

 

Thanks

 

CC.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×