Skip to main content
2 min read

Paying any amount through the T-PAY payment gateway

In this article I will show how any amount can be paid through the T-PAY payment system. This solution makes it possible, for example, to donate to a public benefit organisation (an association, a foundation...

In this article I will show how any amount can be paid through the T-PAY payment system. This solution makes it possible, for example, to donate to a public benefit organisation (an association, a foundation, etc.) or to make a payment for any other purpose. Micropayments, which can top up the account of an organisation or a company, are popular today. Below I describe the configuration step by step. However, if you would like us to help you with the whole process, from setting up the account to the first payment through the payment field, please contact our company.

The whole process is as follows:

Setting up a T-Pay account


First, you need to register your account. You can do so here:

https://register.tpay.com/

There you enter, among other things, your first name, surname, company or institution name, tax identification number (NIP), website address, registered office address, etc. Next, you need to verify your identity by making a one-off transfer of PLN 10 (this amount also covers the activation fee).

Then download this script and proceed to edit the PHP file

Go to line 27 and enter the values you will find in your T-PAY panel.

In the description and CRC fields, enter your own information that will later let you easily identify payments of this type in the T-Pay panel.

The downloaded archive also contains an index.html file. Upload it to the FTP server together with the Tpay folder, which contains the payment.php file we edited earlier.

When you open the URL in a browser, a very simple form will appear in which you can now enter an amount and make a payment.

The look of the payment form can be edited freely. All you need to do is add style sheets. This way you can achieve the following look:


If you choose our company for the implementation, we will prepare a design for you, whether as a pop-up or as an embedded box.

 

That's all. From now on, our website can receive donations and contributions.

In addition to the declared amount, you can also send other information that will later let you easily identify the payment, e.g. by a payment reference that the payer can enter themselves.

Write to us and we will help you create a custom payment form, e.g. like the one shown in the image above.
See all

Have questions about accessibility?

Consult your project with our experts. We will help you assess your website’s compliance with legal requirements and optimise the implementation process.

International project

AIMused – accessibility and artificial intelligence in museums

Nautil is the technology partner in a project in which, together with institutions from Poland, Germany, Denmark, Sweden and Lithuania, we are building AI-based solutions that make museums and tourist attractions accessible to everyone.

More about the AIMused project
Interreg South Baltic. Co-funded by the European Union

Project co-funded by the European Regional Development Fund under the Interreg South Baltic 2021–2027 programme.