Solved

Credit Card Transactions Help

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

777 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