Forum Moderators: buckworks

Message Too Old, No Replies

How does credit card payment work?

         

jinksys

7:21 am on Mar 5, 2006 (gmt 0)

10+ Year Member



I am starting a small business website and need to know the ins and outs of credit card processing from a programming standpoint. What I mean is, once I have the dollar amount they are to be charged...what then? I know that you need a merchant account for processing, but what method do you use to pass the info along?

Scruffy

7:42 am on Mar 5, 2006 (gmt 0)

10+ Year Member



You need the services of a Payment Service Providor (PSP).
They provide the secure server link and process the transaction. Top names are SecPay and WorldPay.

FalseDawn

11:00 am on Mar 5, 2006 (gmt 0)

10+ Year Member



The info you need to pass depends on a few factors, but in all cases there is a minimum required - usually customer name, card info (obviously), and address.

From a programming point of view, different payment gateways might use different methods.

Most will accept a HTTP POST, which is easily accomplished in PHP using cURL - other languages will need different approaches.

authorize.net even provides sample code in a variety of languages:
http://developer.authorize.net/samplecode/

[edited by: lorax at 4:46 pm (utc) on Mar. 8, 2006]
[edit reason] delinked [/edit]

Corey Bryant

2:42 am on Mar 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need the merchant account along with an electronic payment gateway (LinkPoint, Verisign's Payflow Services, Protx, Authorizenet.com).

You can also consider using a third party service or 2CO and use their proprietary gateway

-Corey

puppyhunter

2:20 pm on Mar 8, 2006 (gmt 0)

10+ Year Member



There are some companies that offer to set you up with merchant account and do the gateway part Such as Optimal Payments and their site even has all the documentation and APIs for most setups.

Have a look at http://www.optimalpayments.co.uk/docsapi.asp

[edited by: lorax at 4:45 pm (utc) on Mar. 8, 2006]
[edit reason] delinked [/edit]