Set up PHP
The site has a Tinkoff payment system, in the form of Internet acquiring.
A site without CMS, used a library https://github.com/neatek/Tinkoff-PHP-Class
Heres a description of the https://neatek.ru/php-class-tinkoff-back-payment library
you need to set up auto payments (documentation of tinkov itself https://oplata.tinkoff.ru/develop/api/autopayments/)
0. In the form of the site, the lead enters its email, this email must be thrown into the payment form, highlighted in red - https://c2n.me/49ogv3I
It is necessary to adjust the logic of the auto payments themselves, namely (all amounts in pennies):
1. On day 1, the lead fills out a form on the site for example at 17:01, write off 100 cents - this operation is recorded in the database, and the payment token, which can be twitched for auto payments
2. At 18:01 (after 1 hour), we make 3 simultaneous auto payments (790, 1190, 1510 - in pennies), i.e. understand so: the krone starts the script, the script makes a write-off - 790, waits a second - 1190, waits a second - 1510.
3. on the 5th day - at 17:01 - 790, waiting for a second - 1190, waiting for a second - 1510.
4. on the 10th day - at 17:01 - 790, waiting for a second - 1190, waiting for a second - 1510.
5. on the 15th day - at 17:01 - 790, waiting for a second - 1190, waiting a second - 1510.
6. on the 20th day - at 17:01 - 790, waiting for a second - 1190, waiting for a second - 1510.
7. on 21 days autopayment stops (i.e. it turns out 5 identical auto payments)
UPD: there are 2 bases, one database where all the data of the lid that it filled on the site, the second is the base with tokens and payment data
https://c2n.me/49og8Ms, it is important not to break the transfer of data from the forms of the site to the database.