Answer the question
In order to leave comments, you need to log in
The algorithm of actions after paying for the service, dug into the logic, as it should?
There is a service in which, after payment, the buyer should receive a notification by mail with a unique link by which he can track the status of the service. The service ends in 4 steps. A technical question. How to organize such a mechanism.
I suppose that when paying for a service, it is necessary to generate a unique identifier for a specific service and use it to obtain data for this particular service. And how to be further? That is, after all, there must be data for this identifier, that is, you need to store them in the database and, accordingly, issue data when you click on a link with a given identifier.
Is this algorithm correct, are there any other options?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Well, maybe something like this:
Step 1:
The user selects a service and pays for it.
Step 2:
The service data for the user is added to the database and the ID is returned. The ID will be unique as it is the Primary Key.
The user is sent a link to the service tracking page. The link looks like: http://site.ru/status/{id} ;
Step 3:
This and subsequent steps can be performed on the page that is under the link sent to the user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question