Answer the question
In order to leave comments, you need to log in
How to automatically send a letter with a video course after a person has paid?
In general, there is a site selling courses, when you click on the "buy a course" button, you go to Yandex payment, you pay, after the person has paid, a letter with the course is automatically sent to the mail. Tell me how to do this, maybe there are some programs
Answer the question
In order to leave comments, you need to log in
When you click on Buy a course, we create a record with information about the order in the system, pass the ID of the created record in the payment form.
Next, the client is sent to the payment page in Yandex.
After a successful payment, Yandex knocks on your service and sends information about the payment, search for the order by the previously transmitted identifier, check the status and amount that the payment has been made, mark the order as paid, and send an email with the rate to the client.
Something like this...
Tell me how to do this, maybe there are some programs
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question