PHP Classes
elePHPant
Icontem

Go PayPal: Generate HTML for Paypal payment buttons and forms

Recommend this page to a friend!
  Info   View files Example   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2011-09-26 (5 years ago) RSS 2.0 feedStarStarStarStar 75%Total: 2,345 This week: 1All time: 1,601 This week: 1,047Up
Version License PHP version Categories
go-paypal 1.0MIT/X Consortium ...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

Integrate Paypal in a Web site
How to integrate paypal in my Web site

Paypal Express Checkout
Integrate Paypal in own web site

Picture of Sithu Kyaw
Name: Sithu Kyaw <contact>
Classes: 2 packages by
Country: Myanmar Myanmar

Details
================================
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,345
This week:1
All time:1,601
This week:1,047Up
User Ratings User Comments (3)
 All time
Utility:97%StarStarStarStarStar
Consistency:88%StarStarStarStarStar
Documentation:86%StarStarStarStarStar
Examples:97%StarStarStarStarStar
Tests:-
Videos:-
Overall:75%StarStarStarStar
Rank:99
 
Pretty good class, straightforward way and examples to integr...
3 years ago (kanuj bhatnagar)
80%StarStarStarStarStar
I actually use this class.
3 years ago (Assontia Patient)
72%StarStarStarStar
Examples(e.
5 years ago (George Pasparakis)
77%StarStarStarStar