Download the PHP package macklus/yii2-ceca-tpv without Composer
On this page you can find all versions of the php package macklus/yii2-ceca-tpv. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-ceca-tpv
CECA Tpv plugin
Manage payment form generator from CECA TPV
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Configure
Configure tpv component, using:
The mode variable define usage mode, so far:
- prod: production mode
- debug: debug mode
Generate the payment form
You can generate the payment form using next code in your view:
- Num_operation: Alphanumeric code who identifies this order
- Importe: The total amount of payment
- TipoMoneda: Coin
- Idioma: Language
- showButton: if true, the form include submit button. If false, you should submit it througt javascript. Remember that form id is always ceca-tpv-form
Handle TPV response
Once you have been pay, TPV should POST payment info (if you configure it). To handle that, you should use in your action:
All versions of yii2-ceca-tpv with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
*
The package macklus/yii2-ceca-tpv contains the following files
Loading the files please wait ....