|
Anacom
Michael Reynolds
Introduction
PHP is being used more and more as a tool for building e-commerce
applications. A necessary part of most e-commerce applications is the
ability to accept credit card payment in real-time, and PHP handles this
facet of online shopping with ease --- with a little help.
This article will explain how to use PHP with Anacom. Anacom is a popular
online credit card processor with a fairly friendly interface. You can read
more about Anacom at http://www.anacom.com.
Requirements
The first thing you will need to do is install curl. Curl is a little
program that allows secure posting to web sites via the command line. This
is necessary because PHP allows unencrypted socket connections but has no
built-in functions for making encrypted connection (via SSL). This is where
curl comes in. Curl can be obtained at http://curl.haxx.se. Note that OpenSSL (http://www.openssl.org) will also need to
be installed for curl to post via SSL if no RPM or binary package of
SSL-enabled curl is available for your platform. Curl can be installed
anywhere and has been successfully tested on dedicated servers and virtual
servers. Either ask your hosting provider to install curl with SSL or
install it yourself. Documentation is readily available on the curl web
site.
[ Next Page ]
| Comments: | ||
| PHP/MySQL not store credit card for payment | Nick | 12/09/05 20:44 |
| RE: Authorize.net Scripts? | AuthnetScripts.com | 12/04/02 06:39 |
| RE: post the docs in the story | Kevin McArthur | 11/14/02 14:34 |
| RE: exec call | Kevin McArthur | 11/14/02 14:30 |
| New Versions Out | Kevin McArthur | 11/14/02 14:25 |
| RE: Alternative to Anacom? | Vadim Fedukovich | 10/14/02 20:21 |
| Installing cURL on windows. | Peter | 09/19/02 14:26 |
| RE: Authorize.net script (referrer url problem) | Brian Winkers | 06/10/02 12:24 |
| CURLOPT_HTTPHEADER | Michael | 06/04/02 11:36 |
| Authorize.net script (referrer url problem) | Kevin | 05/25/02 12:19 |
| Serious security flaw | Michael | 05/22/02 14:38 |
| RE: Curl and persistent connections | Jeffrey | 05/19/02 02:46 |
| Curl and persistent connections | Jateen Mistry | 05/14/02 10:08 |
| Use TrustCommerce TCLink instead | Joseph Waterman | 05/07/02 17:32 |
| RE: just use Payflow Plus from Verisign | nhyde | 04/24/02 23:15 |
| Improved version for authorize.net | Kevin McArthur | 03/10/02 02:35 |
| cURL and PHP for HTTPs post | Dimitar Apostolov | 02/18/02 07:11 |
| RE: Authorize.net Scripts? | scoob | 02/13/02 13:07 |
| RE: Installing Curl on Virtual Hosts | terry chay | 02/03/02 09:17 |
| RE: curl interface the php | terry chay | 02/03/02 09:10 |
| RE: Authorize.net Scripts? | Surojit Niyogi | 09/27/01 13:12 |
| Is this safe? PHP & cURL | Ron L | 09/18/01 22:57 |
| Authorize.net script | David | 09/03/01 13:23 |
| Authorize.net | Rob | 08/13/01 12:48 |
| Authorize.net Scripts? | JohnC | 07/24/01 11:45 |
| curl interface the php | sankar lal | 07/18/01 05:01 |
| Installing Curl on Virtual Hosts | Joe | 07/11/01 22:49 |
| Secure connection? | Alexander Davydov | 06/26/01 08:12 |
| Anacom dead --- switch to Authorize.Net | Michael Reynolds | 06/21/01 19:10 |
| RE: exec call | Eric Thelin | 06/20/01 05:39 |
| RE: just use Payflow Plus from Verisign | Scott | 06/13/01 13:09 |
| ereg_replace() or urencode() ? | Maxim Maletsky | 05/30/01 09:33 |
| Alternative to Anacom? | Nils-Fredrik Kaland | 05/30/01 06:08 |
| HTTPS Connections... | Rafael Bastidas | 05/23/01 07:04 |
| Another Script/Payment Service | Rachael | 05/22/01 12:39 |
| credit card type? | crazney | 05/19/01 06:52 |
| are these required? | crazney | 05/19/01 06:00 |
| Michael Reynolds. | Russ Levinton | 05/17/01 07:22 |
| RE: Curl in PHP | Michael Reynolds | 05/16/01 13:17 |
| just use Payflow Plus from Verisign | ccbcreg | 05/14/01 11:11 |
| libcurl | HellHound | 05/14/01 07:04 |
| RE: exec call | Michael | 05/12/01 08:32 |
| Curl in PHP | Richard Thomas | 05/11/01 12:36 |
| post the docs in the story | mike | 05/11/01 08:18 |
| exec call | Andy Worthington | 05/11/01 07:50 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


