Click here to Skip to main content
15,886,797 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hi guys
i want use a POS device capabilities in a web application, when user want to pay cost with his/her credit card, my web app must be waiting for card drag at pos, then my web app read credit card's and payment info, all happenes in client side, and when user clicks pay button ,only payment info sent to my server , this not an internet payment , payment operation will done between POS and bank center, I want just to save payment info at my server after payment, for solve this problem i serached in www alot of time but i cant find any right solution for this problem.
TANX ALOT if u help me on this
Posted
Comments
JoCodes 24-Dec-13 2:27am    
Can you make the question bit clear?Meant to say POS application uses the Web Application you developed to get the card swipe details and only those you want to send to server for further processing ?But again you have told that payment done b/w POS and Bank center.
R.Akhlaghi 14-Jan-14 3:24am    
after 2 weeks search around the web for find this solution, i reached this conclusion:
pos has a dll for work with pc,
first add dll as a reference to webApp
create a ocx control for cammunicate with dll
add this ocx to my webApp
use this ocx by object tag in payment page

<object id="Pec_PosDriver" style="display: none" codebase="\PosDriver.ocx" classid="clsid:4DF73FED-EAB1-48CE-B106-A71D330DE039">
</object>

how is work?
when user run the webApp for first, this ocx will install on client pc but with get certificate from user, in fact this ocx is an interface between my web app and bank, when user click "pay from pos" button, webApp wait for card swipe , this info will send to webApp by a javaScript function, this function fill empty text box for get payment info, when user click "pay" button, this info will sent to bank center via ocx, after transaction complete, result will send from bank center to this ocx, and my WebApp receive result of transaction, finally, successful transaction info post to server.
* this is a sophisticated problem,
it need to .NET,JAVA,ASP.NET,portProgramming ,
professional programmer from bank it center created this customized ocx for our webApp.
Sergey Alexandrovich Kryukov 24-Dec-13 2:46am    
Why ActiveX if you use .NET? How a control can be an interface? what would it possibly mean?
—SA
R.Akhlaghi 22-Apr-14 2:30am    
dear sergey , i am not describe the problem clearly!
(i muse use IE.Add On instead user control)
we r solved this problem hny :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900