Login   Register  
PHP Classes

File: paypal_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  >  paypal_start.php  >  Download  
File: paypal_start.php
Role: Example script
Content type: text/plain
Description: Paypal initiate
Class: Payment Gateway Library
Accept payments with Paypal, Authorize.net and 2CO
Author: By
Last change: N/A
Date: 5 years ago
Size: 1,004 bytes


Class file image Download

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

// Create an instance of the paypal library
$myPaypal = new Paypal();

// Specify your paypal email

// Specify the currency

// Specify the url where paypal will send the user on success/failure

// Specify the url where paypal will send the IPN

// Specify the product information

// Specify any custom value

// Enable test mode if needed

// Let's start the train!