Login   Register  
PHP Classes

File: invoicedetail.example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mubashir Ali  >  Paypal Invoice API  >  invoicedetail.example.php  >  Download  
File: invoicedetail.example.php
Role: Example script
Content type: text/plain
Description: It is an example that shows how to find the Invoice Detail using PayPal Invoicing API
Class: Paypal Invoice API
Create and manage invoices Paypal Invoicing API
Author: By
Last change:
Date: 2 years ago
Size: 863 bytes


Class file image Download
     * @author Mubashir Ali (Lahore, Pakistan)
     * saad_ali6@yahoo.com
     * @category Paypal Invoice API
     * @@abstract This performs the CreateAndSend API Operation
     * @since 03-01-2011
     * @version 1.2

$API_Username "xxxxxxxxxxxxxxxxx.xxx.xxx";
$API_Password "xxxxxxxxxx";
$Signature    "xxxxxxxxxxxxxxxxx.xxxxxxxxxxxxx-xxxxxxxxxxxxx-xxxxxxxxxx";
$business "xxxxxxxx@xxxxxx.xxx";


$ppInv = new PaypalInvoiceAPI("sandbox");

$invoiceId "xxxx-xxxx-xxxx-xxxx-xxxx";

$res $ppInv->doGetInvoiceDetail($invoiceId);
$res['responseEnvelope.ack']== "Success")