[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Credit Card Transactions Help

Posted on 2006-06-22
Medium Priority
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?


Question by:Nothern_Lights
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
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:


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.

Author Comment

ID: 16962200

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


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.

Author Comment

ID: 16962525

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


LVL 52

Accepted Solution

Carl Tawn earned 2000 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)

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Suggested Courses

656 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