Download the PHP package clippings/omnipay-paypal without Composer
On this page you can find all versions of the php package clippings/omnipay-paypal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clippings/omnipay-paypal
More information about clippings/omnipay-paypal
Files in clippings/omnipay-paypal
Package omnipay-paypal
Short Description Rest API paypal processor for Omnipay
License BSD-3-Clause
Informations about the package omnipay-paypal
Omnipay: Paypal
Paypal REST driver for the Omnipay PHP payment processing library
Omnipay is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements eMerchantPay support for Omnipay.
Installation
Omnipay is installed via Composer. To install, simply add it
to your composer.json
file:
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Basic Usage
The following gateways are provided by this package:
- PaypalRest
For general usage instructions, please see the main Omnipay repository.
In order to use this gateway, you need to provide apiKey and clientId.
For a successful purchase you need to provide amount
,currency
:
Funding methods
You can use 3 different methods for paying for purchases
Paypal Redirect
If you do not provide any payment methods, purchase() method will generate a redirect response.
Credit card reference
You can store user's credit cards within paypal's vault, and use a reference to that for purchases.
Directly with a credit card
Authorization
Authorisation, capture and void are supported too. It works the same way as purchase, but you'll need to "capture" or "void" afterwords
Refund
Credit Card Vault
createCard, updateCard and deleteCard are supported too.
Support
If you are having general issues with Omnipay, we suggest posting on Stack Overflow. Be sure to add the omnipay tag so it can be easily found.
If you want to keep up to date with release announcements, discuss ideas for the project, or ask more detailed questions, there is also a mailing list which you can subscribe to.
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.
License
Copyright (c) 2014, Clippings Ltd. Developed by Ivan Kerin
Under BSD-3-Clause license, read LICENSE file.