Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stdevteam/yii-paypal
A PayPal component for Yii framework to utilize Express Checkout and Direct Payment APIs
https://github.com/stdevteam/yii-paypal
Last synced: 9 days ago
JSON representation
A PayPal component for Yii framework to utilize Express Checkout and Direct Payment APIs
- Host: GitHub
- URL: https://github.com/stdevteam/yii-paypal
- Owner: stdevteam
- Created: 2013-01-09T20:23:35.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T12:58:05.000Z (over 2 years ago)
- Last Synced: 2024-10-19T19:36:45.320Z (18 days ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 37
- Watchers: 15
- Forks: 23
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
yii-paypal
==========A PayPal component for Yii framework to utilize Express Checkout and Direct Payment APIs for you
Installation
==========Download the package, extract the component file (Paypal.php) to your components directory and optionally extract
sample controller and view files to test the component.
After place the Paypal configuration array inside your 'components' definitions.```php
'Paypal' => array(
'class'=>'application.components.Paypal',
'apiUsername' => 'YOUR_API_USERNAME',
'apiPassword' => 'YOUR_API_PASSWORD',
'apiSignature' => 'YOUR_API_SIGNATURE',
'apiLive' => false,
'returnUrl' => 'paypal/confirm/', //regardless of url management component
'cancelUrl' => 'paypal/cancel/', //regardless of url management component
// Default currency to use, if not set USD is the default
'currency' => 'USD',// Default description to use, defaults to an empty string
//'defaultDescription' => '',// Default Quantity to use, defaults to 1
//'defaultQuantity' => '1',//The version of the paypal api to use, defaults to '3.0' (review PayPal documentation to include a valid API version)
//'version' => '3.0',
),
```