473,406 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Credit Card processing in Access

gj
I have an application in Access 97 I will be rewriting in the latest
version of Access in 6 months. In the meantime, does anyone know of an
ActiveX control I can add into an Access 97 form to allow the validation
of Credit Card numbers and also processing of payments.

Ta very muchly.

GJ
Nov 13 '05 #1
7 6957
"gj" <go****@google.google> wrote in message
news:rG*******************@news02.tsnz.net...
I have an application in Access 97 I will be rewriting in the latest
version of Access in 6 months. In the meantime, does anyone know of an
ActiveX control I can add into an Access 97 form to allow the validation
of Credit Card numbers and also processing of payments.

Ta very muchly.

GJ


I'm no expert on credit card processing, but I did once implement it in an
Access system. The credit card processing company had their own web-based
mechanism for submitting transactions for authorisation and payment, and the
code had to be hand-crafted to match this very particular mechanism. If
this is typical of the way that credit card companies work, then you are not
going to find an ActiveX control to do it: you are going to have to get the
necessary information from the company and build it to suit their system.
Nov 13 '05 #2
In article <rG*******************@news02.tsnz.net>,
gj <go****@google.google> wrote:
I have an application in Access 97 I will be rewriting in the latest
version of Access in 6 months. In the meantime, does anyone know of an
ActiveX control I can add into an Access 97 form to allow the validation
of Credit Card numbers and also processing of payments.


As a starter, the function below will allow you to determine whether the
credit card number is valid, according to its built-in check digit. This
works for both Visa and Mastercard.
Public Function CheckCCNum(CCNum As String) As Boolean
' Return TRUE if CCNum appears to be a valid credit card number.
Dim MyNum As String, char As String
Dim I As Integer, Sum As Integer

' Remove any non-numeric characters from CCNum.
MyNum = ""
For I = 1 To Len(CCNum)
char = Mid(CCNum, I, 1)
If char >= "0" And char <= "9" Then MyNum = MyNum & char
Next I

' Result should be an even number of digits
If Len(MyNum) = 0 Or Len(MyNum) Mod 2 = 1 Then
CheckCCNum = False
Exit Function
End If

' For each odd digit, multiply it by two, add the digits in the
product,
' then add it to the sum of the even digits.
For I = 1 To Len(MyNum) Step 2
Sum = Sum + Fix((2 * Mid(MyNum, I, 1)) / 10)
Sum = Sum + Fix((2 * Mid(MyNum, I, 1)) Mod 10)
Sum = Sum + Mid(MyNum, I + 1, 1)
Next I

' If final sum is evenly divisible by 10, the number is valid.
CheckCCNum = IIf(Sum Mod 10 = 0, True, False)

End Function

--
"Sometimes what seems to be enough smoke to guarantee a robust
fire is actually just a cloud of dust from a passing bandwagon."
- Daniel Dennett
Nov 13 '05 #3
GJ,
Nope. But I'd expect it to be a .Net web service or some such instead of
ActiveX. Something along the lines of code that submits an XML doc with the
data and the request and gets back an approval code.

"gj" <go****@google.google> wrote in message
news:rG*******************@news02.tsnz.net...
I have an application in Access 97 I will be rewriting in the latest
version of Access in 6 months. In the meantime, does anyone know of an
ActiveX control I can add into an Access 97 form to allow the validation of
Credit Card numbers and also processing of payments.

Ta very muchly.

GJ

Nov 13 '05 #4
gj <go****@google.google> wrote:
I have an application in Access 97 I will be rewriting in the latest
version of Access in 6 months.
Why rewrite? A conversion taking a few hours or slightly more should be sufficient.
In the meantime, does anyone know of an
ActiveX control I can add into an Access 97 form to allow the validation
of Credit Card numbers and also processing of payments.


Here's what I've gleaned from the newsgroups.

http://www.processing.net can be used in conjunction with our processing network to
clear credit cards.

xAuthorize http://www.xauthorize.com/software/xauthorize/

http://www.analysisandsolutions.com/code/ccvs-vb.htm validates the card number and
type, doesn't guarantee the card is still current.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #5
gj
Tony Toews wrote:
gj <go****@google.google> wrote:

I have an application in Access 97 I will be rewriting in the latest
version of Access in 6 months.

Why rewrite? A conversion taking a few hours or slightly more should be sufficient.

In the meantime, does anyone know of an
ActiveX control I can add into an Access 97 form to allow the validation
of Credit Card numbers and also processing of payments.

Here's what I've gleaned from the newsgroups.

http://www.processing.net can be used in conjunction with our processing network to
clear credit cards.

xAuthorize http://www.xauthorize.com/software/xauthorize/

http://www.analysisandsolutions.com/code/ccvs-vb.htm validates the card number and
type, doesn't guarantee the card is still current.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm


Thanks will check out those credit card links.

I am rewriting as the database that has been developed over 5 years is a
very good application in a niché market and a saleable product. Saying
that I have learnt a lot about Access developing this application.

The rewrite is to simplify the data structure, allow for new features to
be added and to make the application more uniform in how it works. One
key factor is I want to re-implement the email included in the
application. Currently it sends and receives emails from SMTP/POP
server. I want to find a way to use IMAP so the emails remain outside
the database and can be accessed by another medium. Doing this would
allow other email, say a users email, to be include in the application
removing the need to use other applications.

Like I said it has grown significantly and the amount of VBA code, and
its quality, needs some serious looking at.

The interface needs better workflow and simplification.

Gavin
Nov 13 '05 #6
gj <go****@google.google> wrote:

I am rewriting as the database that has been developed over 5 years is a
very good application in a niché market and a saleable product. Saying
that I have learnt a lot about Access developing this application.

The rewrite is to simplify the data structure, allow for new features to
be added and to make the application more uniform in how it works.
That makes sense. Presumably you are a contracter and not an employee. And you've
research the legalities in your legal jurisdiction to ensure you own the copyright.
One
key factor is I want to re-implement the email included in the
application. Currently it sends and receives emails from SMTP/POP
server. I want to find a way to use IMAP so the emails remain outside
the database and can be accessed by another medium. Doing this would
allow other email, say a users email, to be include in the application
removing the need to use other applications.


Ummm, I probably don't understand the issues but I'd dedicate an email account just
for the purpose of sending and receiving emails. Thus there is no need to figure
out if the email needs processing by your app or not.

Also IMAP is sort of a layer on top of POP3. Or is it? I vaguelly recall that
the difference was that it left the emails on the server. Or is webmail more like
IMAP? But I'm likely wrong here.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #7
Tony Toews <tt****@telusplanet.net> wrote in
news:9f********************************@4ax.com:
Also IMAP is sort of a layer on top of POP3. Or is it? I
vaguelly recall that the difference was that it left the emails on
the server. Or is webmail more like IMAP? But I'm likely
wrong here.


IMAP and POP are two completely different protocols for
communication between a mailbox and an email client.

POP clients generally download the email from a remote mailbox to a
local system.

IMAP, on the other hand, is a protocol explicitly designed for
in-place mail reading. You leave the mail in the remote mailbox and
read it from any location via the IMAP client of your choice.
Everything is stored server-side, thus insuring that your inbox is
the same wherever you view it from.

Webmail is a different kettle of fish. My ISP uses SquirrelMail,
which is an IMAP client writte in PHP. But it need not be an IMAP
client -- it could access the mailbox through other methods since
the Webmail server is running local to mail system of my ISP.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Simon Wigzell | last post by:
My client wants to have credit card information fields on his forms for his website visitors to be able to buy his wervices by credit card. The credit card info - Brand, number and expiry date will...
4
by: gl | last post by:
I have just started a project that's going to do very heavy credit card processing through asp.net and i had some questions. I've never really done any cc processing through code and I wasn't sure...
9
by: nm | last post by:
Hi, I am a developer quite familiar with the C# language and .NET framework. I develop mainly data driven websites. All of our past clients have shopping cart systems developed by me in ASP.NET...
6
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?
2
by: moondaddy | last post by:
I'm building a small POS system which I'm going to license out and need to include credit card processing. I've build eCommerce sites before and custom coded CC processing for verisign, but that...
5
by: PW | last post by:
Hi, Is it possible to enable credit card processing in our Access 2003 application where the user would swipe a card and all the information on the card would be entered into the database? -pw
11
by: Paul Furman | last post by:
I'm setting up credit card payment through authorize.net and they have the option to send a POST string back to my site once complete. I'm not sure how to proceed. They don't have much to read...
1
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
3
by: mdommer1 | last post by:
Some credit card companies offer server side ActiveX controls for the processing of credit card applications and claim that their libraries work in any language that supports ActiveX controls, but I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.