Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 29th, 2007, 02:12 PM
Authorized User
 
Join Date: Sep 2006
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default Payment Code

Hi,

I've been working on an e-commerce based website written in asp.net 1.1 and vb.net. To finish off the site I want to employ some codethat can check credit card payment details. I would rather customise existing code than purchase an "off the shelf" application or services to check these details.

From what I've been reading about I will need to send the payment card details via a https post to the card handler / merchant website used.

Can anyone recommend any useful websites or on-line articles ?

Thanks,

 
Old January 29th, 2007, 03:12 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

In so far as checking whether or not a credit card number is valid, you can check the number against a Luhn alogorithm, of course, that will just return you a bool value telling you that numbers are or arent correct; it will provide you with no details of the card holder, if the card is valid, or if there is even money on the card.

Simply put, you are going to buy something: your payment gateway. Each companys gateway works differently (in my experience anyway) and that will dictate how you code. Paypal, for example, allows you to process payments through them using an API that they expose and it is relatively simple.

(Payment gateway == a credit card processing company that can provide the functionality necessary to validate credit cards.)

================================================== =========
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
online payment raaj Beginning PHP 2 April 20th, 2007 11:17 PM
Online payment js_newbie Beginning PHP 2 March 28th, 2007 04:27 PM
online payment p2ptolu SQL Language 1 February 24th, 2006 05:54 AM
Online Payment eapsokha Classic ASP Professional 3 August 31st, 2004 12:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.