Solved

Credit Card Transactions Help

Posted on 2006-06-22
5
413 Views
Last Modified: 2013-11-29
Hey Experts

I am making POS software for a company

There are four ways to pay they are

1 - Cash
2 - Cheque
3 - Credit Card
4 - Voucher

How do i make visual basic charge/process to a credit card if that is possible?

Thanks

Nothern_Lights
0
Comment
Question by:Nothern_Lights
  • 3
  • 2
5 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 16962082
You'll probably need to use a third-party system to actually send the transaction. I've used CommsXL in the past:

    http://www.commsxl.com/

With CommsXL you write out a file with the details of the transaction, CommsXL then processes the transaction and returns a result file indicating success/failure and details of the transaction.
0
 

Author Comment

by:Nothern_Lights
ID: 16962200
carl_tawn

but i have a keyboard with a card reader built into it can visual basic not talk to that then uses some component to charge the card

Thanks

Nothern_Lights
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 16962248
The actual charging of the card is carried out by the bank. CommsXL is an app that communicates with the bank to authorize/execute the transaction.

Your VB app would communicate with the Card Reader to get the details off of the card and build the Request file that contains the card and payment details. You then write out a request file that CommsXL sends to the card merchants for authorization and execution of the transaction.
0
 

Author Comment

by:Nothern_Lights
ID: 16962525
carl_tawn

Can you guide me through the reading the details from the card reader to my vb app and what CommsXL software application I would need for a high street store because I have got no idea what I need this is my first POS program.

I would be much appreciated

Thanks

Northern_Lights
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 16962637
The specifics might be different for you depending on your reader. The ones we used simply read the card number straight to the field with focus (although we weren't using VB so it may be a little different). Try simply opening Notepad and running a card through your reader to see if it displays anything.

After getting the card number we used to do some client-side validation (i.e. the LUHN10 check) to verify the card number is legitimate, then simply write out the request file, and wait for a response.

This link to VISA might be of some use if you want to try and handle the comms with the merchant yourself:  http://www.visaeurope.com/acceptingvisa/pdf/implementation_guide.pdf

Alternatively, if you're interested in the CommsXL route, the software we used was CCServer (the first link in this page: http://www.commsxl.com/section.php?section_id=4)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now