A
A
Alexey Budaev2015-11-03 00:09:27
PHP
Alexey Budaev, 2015-11-03 00:09:27

How to make an independent payment page on the site?

Hello!
Task : implement the following functionality.
The site has a form for leaving an application for a certain product, for example, for a certain tour.
Next to the description of the goods there is a button "Book" or "Leave a request", it does not matter. The bottom line is that after clicking a person enters contact information and they fly away to the company.
Next, the company processes this data and in response must send a unique link to the client to pay for this product through the online payment system.
Accordingly, the question is: how to competently implement such a model of interaction on the site?
The only and, it seems to me, rather absurd option that has come to my mind so far is to pass a parameter like a product identifier or order number through GET parameters, which would be automatically generated.
How does it actually work anyway?
Thank you!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
riot26, 2015-11-03
@Markus_Kane

The only and, it seems to me, rather absurd option that has come to my mind so far is to pass a parameter like a product identifier or order number through GET parameters, which would be automatically generated.

Well, something like that, yes. Only I would not send GET numbers that could be picked up and thereby obtain the data of all applications, but some kind of random key, and store the key-application bundle in the database.

S
Sanes, 2015-11-03
@Sanes

Maybe this will fit ?
Through Tickets you can. A ticket is created, which is visible to the author and managers, the rest of the correspondence is in the comments. Email notifications out of the box. Contact me, I'll help. Here is an example .

I
Igor, 2015-11-12
@ig0r74

Through GET + some form of accepting payments like: https://money.yandex.ru/fastpay/

<?php
return isset($_GET['ordernumber'])
  ? $modx->stripTags($_GET['ordernumber'])
  : '';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question