PHP Classes
elePHPant
Icontem

Go PayPal: Generate HTML for Paypal payment buttons and forms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-09-26 (3 years ago) RSS 2.0 feedStarStarStarStar 75%Total: 2,189 This week: 6All time: 1,700 This week: 159Up
Version License PHP version Categories  
go-paypal 1.0Free for non-comm...5.0HTML, PHP 5, E-Commerce
Description Author  

This class can generate HTML for Paypal buttons and forms.

It can set a list of parameters for the payments and generates HTML to embed in pages several types of buttons and forms to redirect the user to perform the specified payments in the Paypal site.

Currently it can generate buy now buttons, donate buttons, buy gift certificate buttons, buy subscription buttons, add a product to a shopping cart and display the cart and upload a multiple products to buy from a third party shopping cart.

Recommendations  

Paypal Express Checkout
Integrate Paypal in own web site

Picture of Sithu Kyaw
Name: Sithu Kyaw <contact>
Classes: 1 package by
Country: Myanmar Myanmar
Age: 32
All time rank: 12932 in Myanmar Myanmar
Week rank: 190 Up1 in Myanmar Myanmar Up

Details provided by the author  
================================
GoPayPal Class
PHP PayPal Payment API Helper
Version 	: 1.0
Developer 	: Sithu
================================
(1) Generate HTML Forms for Paypal AI, including Buy now, Donations, Subscriptions, Shopping carts and Gift certificates. 
 	Please look at Example folder or examples.
(2) Process Paypal payments and return transactions from PayPal so you can do all processing.

=====================
Supported PayPal API
=====================
1. Buy Now
2. Subscriptions
3. Donations
4. Buy Gift Certificates
4. Add To Cart
6. Single Item with PayPal Shopping Cart
7. Multiple Items with Third Party Shopping Cart

========================================
Pre-defined constants for all API types
========================================
These following constants are needed to use when creating GoPayPal class instant

BUY_NOW				# Buy Now button implementation
ADD_TO_CART			# Add To Cart button implementation
PAYPAY_CART			# Indivitual items with PayPal shopping cart implementation
THIRD_PARTY_CART	# Third-party shopping cart implementation with multiple items
DONATE				# Donate button implementation
GIFT_CERTIFICATE	# Buy Gift Certivicate button implementation
SUBSCRIBE			# Subscribe button implementation

============================================
Read the documentation for HTML variables
============================================
HTML-Form-&-Variables-Basics-for-PayPal-Website-Payments-Standard.pdf

======================================================
See more details for usage examples in Example/ Folder
======================================================
GoPayPal/Example/index.php
  Files folder image Files  
File Role Description
Files folder imageExample (8 files)
Plain text file GoPayPal.class.php Class GoPayPal Class
Accessible without login HTML file HTML-Variables-for...yments-Standard.htm Doc. PayPal API Variables Documentation
Accessible without login Plain text file README.txt Doc. Read this before use the class

  Files folder image Files  /  Example  
File Role Description
  Accessible without login Plain text file buynow.php Example Buy Now Example
  Accessible without login Plain text file donation.php Example Donation Example
  Accessible without login Plain text file gift_certificate.php Example Buy Gift Certificate Example
  Accessible without login Plain text file index.php Example Example
  Accessible without login Plain text file individual_paypalcart.php Example Single Item Example
  Accessible without login Plain text file payment_complete.php Example Payment Complete Example
  Accessible without login Plain text file subscribe.php Example Subscription Example
  Accessible without login Plain text file thirdpartycart.php Example Third Party Shopping Cart Example

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,189All time:1,700
 This week:6This week:159Up
User Ratings User Comments (3)  
 All time
Utility:96%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:84%StarStarStarStarStar
Examples:96%StarStarStarStarStar
Tests:-
Videos:-
Overall:75%StarStarStarStar
Rank:68
 
Pretty good class, straightforward way and examples to integr...
2 years ago (kanuj bhatnagar)
80%StarStarStarStarStar
I actually use this class.
2 years ago (Assontia Patient)
72%StarStarStarStar
Examples(e.
4 years ago (George Pasparakis)
77%StarStarStarStar