Credit Card Transactions Help

Posted on 2006-06-22
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 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:

Alternatively, if you're interested in the CommsXL route, the software we used was CCServer (the first link in this page:

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

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.
Businesses who process credit card payments have to adhere to PCI Compliance standards. Here’s why that’s important.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

726 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