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.
- Generate HTML Forms for PayPal API, including Buy now, Donations, Subscriptions, Shopping carts and Gift certificates.
- Process PayPal payments and return transactions from PayPal so you can do all processing.
- Buy Now
- Subscriptions
- Donations
- Buy Gift Certificates
- Add To Cart
- Single Item with PayPal Shopping Cart
- Multiple Items with Third Party Shopping Cart
These following constants are needed to use when creating GoPayPal class instant
BUY_NOW
- Buy Now button implementationADD_TO_CART
- Add To Cart button implementationPAYPAY_CART
- Indivitual items with PayPal shopping cart implementationTHIRD_PARTY_CART
- Third-party shopping cart implementation with multiple itemsDONATE
- Donate button implementationGIFT_CERTIFICATE
- Buy Gift Certificate button implementationSUBSCRIBE
- Subscribe button implementation
HTML Variables for PayPal Website Payments Standard
All API usages are available in the examples directory
Live examples are available at sithukyaw.com/GoPayPal