Login   Register  
PHP Classes

File: authorize_start.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Md Emran Hasan  >  Payment Gateway Library  >  authorize_start.php  >  Download  
File: authorize_start.php
Role: Example script
Content type: text/plain
Description: Authorize.net initiate
Class: Payment Gateway Library
Accept payments with Paypal, Authorize.net and 2CO
Author: By
Last change: N/A
Date: 5 years ago
Size: 935 bytes


Class file image Download

// Include the paypal library
include_once ('Authorize.php');

// Create an instance of the authorize.net library
$myAuthorize = new Authorize();

// Specify your authorize.net login and secret

// Specify the url where authorize.net will send the user on success/failure

// Specify the url where authorize.net will send the IPN

// Specify the product information

// Enable test mode if needed

// Let's start the train!