OK, I know a few of you out there use OSC and many of you have also
modified it a bit, so I am hoping someone has done something similar...
I have the CC payment module installed, not a problem up to this point.
However, I now need to limit the types of cards people can use. I want
to allow payments for Visa, Master, Discover and AmEx, but none of the
others.
My first reaction was to go into the cc_validation:: validate mthod and
simply comment out the patterns for the card types I do not want to support.
Would this really be all I need to do? Anyone else have experience with
doing similar mods to OSC?
TIA
--
Justin Koivisto - sp**@koivi.com
PHP POSTERS: Please use comp.lang.php for PHP related questions,
alt.php* groups are not recommended. 3 1891
On Tue, 06 Jul 2004 16:40:29 GMT, Justin Koivisto wrote: OK, I know a few of you out there use OSC and many of you have also modified it a bit, so I am hoping someone has done something similar...
I have the CC payment module installed, not a problem up to this point. However, I now need to limit the types of cards people can use. I want to allow payments for Visa, Master, Discover and AmEx, but none of the others.
My first reaction was to go into the cc_validation:: validate mthod and simply comment out the patterns for the card types I do not want to support.
Would this really be all I need to do? Anyone else have experience with doing similar mods to OSC?
That should be ok. I would also do it in Javascript and save some server
roundtrips and tell people the types of credit card you support. A simple
Javascript check can look at the first digit and make sure it's 3 or 4 or 5
or whatever is for Discover plus the self card validation algorithm.
--
Karim http://www.cheapesthosting.com - Innovative Web Hosting since 1998
Online calendars with event email notification - Online Photo Album (RSS
Enabled)
Justin Koivisto <sp**@koivi.com > emerged reluctantly from the
curtain and staggered drunkenly up to the mic. In a cracked and
slurred voice he muttered: OK, I know a few of you out there use OSC and many of you have also modified it a bit, so I am hoping someone has done something similar...
I have the CC payment module installed, not a problem up to this point. However, I now need to limit the types of cards people can use. I want to allow payments for Visa, Master, Discover and AmEx, but none of the others.
My first reaction was to go into the cc_validation:: validate mthod and simply comment out the patterns for the card types I do not want to support.
Would this really be all I need to do? Anyone else have experience with doing similar mods to OSC?
TIA
You need to be editing a file named ccval.php
--
Phil Roberts | Without me its just aweso. | http://www.flatnet.net/
"Mankind differs from the animals only by a little,
and most people throw that away."
- Confucious
> My first reaction was to go into the cc_validation:: validate mthod and simply comment out the patterns for the card types I do not want to
support. Would this really be all I need to do? Anyone else have experience with doing similar mods to OSC?
Justin,
What board to I remember you from??? Fusebox huh?
Anyway, I did a custom mod for a client a while back that did something
similar.
The mod allowed one to select the card type from dropdown, and the card type
selected
must match the number entered (double validation).
Send e-mail to. laidbak 69 @ hot... and I will give you detailed
instructions on what to modify w/o messing w/ the default
code too much.
_______________ _______________ ______
Wil Moore III, MCP | Integrations Specialist This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: kaptain kernel |
last post by:
I'm implementing a simple credit card number check on my website, in order
to trap user errors. it doesn't validate with the bank, but validates
against certain known rules (e.g. Amex always begins with xxxx)
The scripts I've found work fine for Mastercard, Visa, Diner's Club and a
few American only cards, but there's nothing on Google about European/UK
cards like Solo, Switch and Maestro.
Anyone aware of European oriented PHP credit...
|
by: JStrummer |
last post by:
Does anyone know if oscommerce has a module to support Verisign's
Payflow Pro?
I downloaded the one listed as "pro" here
http://www.oscommerce.com/community/contributions,167/category,1/search,verisign],
and the documentation talks only about Payflow Link. Has anyone used
this module? Does it work with Payflow Pro as well?
If anyone knows for sure that oscommerce doesnt' work with Payflow
Pro, could you point me to other free...
|
by: solomon_13000 |
last post by:
> Wonthaggi Civic Theatre 'WCT' Case Study
>
> The town of Wonthaggi has a theatre which is owned and
> operated by the local council, it is called the
> Wonthaggi Civic Theatre (WCT) and a wide variety of
> shows are presented there, for example plays, music
> and talks. The management has decided to build a
> computer system for WCT to handle ticket sales, keep
> track of the work done by staff and record all shows
> presented in the...
|
by: Jake |
last post by:
I in the process of building a web-site using .net (C#). I just
finished building the shopping cart. What I need is to find examples,
details, or code packages that I can include in my web-site to let
users checkout by charging a credit card. I would appreciate all the
help I can get.
jake
|
by: Michelle A. |
last post by:
I have a form that takes in a credit card number, just a series of numbers
1234123412341234. When they get to the "Review" page and display all the
information a user has entered, I would like the number to be formatted in a
XXXX-XXXX-XXXX-1234 type of format.
Any good suggestions how to do this?
Anyone out there use that credit card validation tool from to MS downloads
for Visual Studio..? Easy..? Not worth the time?
| |
by: Arne |
last post by:
What would be a good component for processing credit cards?
(I am not using commerce server.)
Would I need to encrypt the credit card column in the database?
|
by: Chris Davoli |
last post by:
We want to process credit cards/debit cards on our web site. We are using
VB.net, so if we could get some vb.net components to validate and handle the
transactions, or a web service that we could call. Do I need to just contact
a bank and they would give us all the components and code to call it? I know
that we need a special bank account to handle this. Is there any good links
out these to show us how to process e-commerce transactions?
...
|
by: opensourcearts |
last post by:
Hello all,
I am working on an application that is basically a bridge between
oscommerce and gallery2 software, with some other functionality.
It will allow users to port all of their media from gallery2 into
oscommrce, complete with rights definitions and watermarking.
I have spent a lot of time on this application, and I am thinking of
selling it as part of a bundled package with creloaded and gallery2.
|
by: sharsy |
last post by:
Hello guys,
I would like some help in generating query criteria that will identify
credit cards that have expired on an access database.
The specific Field is formatted with a Data Type of
'Text' and has an input mask of '00/00', so all expiry dates are set
out for example as 10/13 (which represents October 2013).
I have hada brief go at trying to work it out, but I was unable to
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |