Download the PHP package tpweb/targetpay without Composer
On this page you can find all versions of the php package tpweb/targetpay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tpweb/targetpay
More information about tpweb/targetpay
Files in tpweb/targetpay
Package targetpay
Short Description PHP TargetPay Library
License LGPL
Homepage http://www.tpweb.org/my-projects/php-targetpay/
Informations about the package targetpay
PHP TargetPay Library
Installation
Require this package in your composer.json
and update composer.
After updating composer, add the ServiceProvider to the providers array in config/app.php
You can use the facade for shorter code. Add this to your aliases:
To publish the config settings in Laravel 5 use:
This will add a targetpay.php
config file to your config folder. In your .env file you can use:
(LAYOUTCODE refers to your 'outlet code' which is unique per webstore/website and KLANTCODE refers to your API key which is unique per TP account.)
Documentation
IVR 090X- (Pay Per Call & Pay Per Minute)
Get payment info
Check payment
(This will only give you a one-time successful callback!)
IDEAL
Get payment info & url
Save $transactionId, redirect user to $redirectUrl.
Check payment
Mister Cash
Get payment info & url
Save $transactionId, redirect user to $redirectUrl.
Check payment
Paysafecard
Get payment info & url
Save $transactionId, redirect user to $redirectUrl.
Check payment
Premium SMS
Get payment info & url
Save $transactionId, redirect user to $redirectUrl.
Check payment
The complete documentation can be found at: http://www.tpweb.org/my-projects/php-targetpay-library/
Support
Support github or mail: [email protected]
Contributing
Please try to follow the psr-2 coding style guide. http://www.php-fig.org/psr/psr-2/
License
This package is licensed under LGPL. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!