1. Contents
Co to jest Tpay?
Tpay is a Polish online payment operator that has the status of a National Payment Institution and is supervised by the Polish Financial Supervision Authority. This guarantees the provision of financial services of the highest quality and adherence to the highest transaction security standards.
The modern payment systems developed by Tpay allow the company to implement various options of cashless payment methods.
The Ignisdev Tpay plugin allows you to integrate a Virtuemart based store with Tpay payments.
1.1. Supports Tpay online payments.
1.2. Multilanguage support.
1.3. Configure as any other Virtuemart payment plugin.
1.4. Easy debug mode.
1.5. The latest version of Tpay Open API (RESTful).
2. Requirements
2.1. PHP 5.6.0 or later.
2.2. PHP extensions: curl, mbstring and json.
2.3. Website operating under the address of a full qualified domain. The Tpay Open API library through its built-in domain address verification to redirect the user after paying for the order will not work at localhost or 127.0.0.1.
2.4. Recommended Virtuemart 3.8 or newer and Joomla 3.x or newer (may work on previous versions).
3. Installation instruction
Download purchased Ignisdev Tpay for Virtuemart via your customer account available on our website.
On your website at the Joomla admin panel go to: Extensions -> Manage -> Install.
Choose Upload Package File tab.
Choose ignisdev_vm_tpay.zip file from your disk to install it.
Go to Extensions -> Plugins, find plugin VM payment - Ignisdev Tpay for Virtuemart and enable it.
Go to Virtuemart dashboard, Shop -> Payment Methods, press "New" button and choose VM payment - Ignisdev Tpay for Virtuemart from "Payment Method" dropdown list.
If you do not have your client ID and Secret key yet, go to the Tpay panel (new version of the panel) > Integration > API > Keys for the new Open Api. Paste Customer ID and Secret into the payment method configuration fields. Fill in the other fields and set other plugin options as needed. Don't forget to publish your payment method.
Configuration fields description
Mode - Sandbox (testing) or production mode.
Tpay Openapi client ID - client ID generated in the Tpay panel (new panel version) > Integration > API > Keys for the new Open Api.
Tpay Openapi Secret - security key, the "Secret" generated in the Tpay panel (new panel version) > Integration > API > Keys for the new Open Api.
Debug - turn on or off debugging.
Pending status - status for new orders.
Success status - order status for successful payments.
Invalid status - order status for cancelled payments.
Note: you can override any message, including thank you message after purchase. See en-GB.plg_vmpayment_ignisdev_tpay.ini file in your admin languages directory to check available constants.
4. Sample usage
4.1. Video with an example usage of the Tpay payment plugin for Virtuemart: