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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In th…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 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