T
T
Tikhon Ermakov2020-07-13 01:34:14
Payment systems
Tikhon Ermakov, 2020-07-13 01:34:14

I connect Internet acquiring. What to do next?

We choose a product.
We confirm the product we have chosen.
We create an order in the database.
We send a request to the bank to create a payment and receive a response.
If everything is successful, we get in the response a link where the user will pay.
We redirect the user to payment.

What next? How to communicate?

The documentation has the following:

5f0b8f4fec608390555853.png5f0b8f5827f57349681644.png

How the application knows that the payment has passed or has not passed. That is, I can make a request to the bank's server and get a response for a specific payment, since before redirecting the user in the orders table, I will save all the legal information that the bank sends me when requesting to create a payment.

How does this happen? Before that, I had never connected anything like this, I need you to share your experience with me. Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-07-13
@dimonchik2013

acquiring will report the status to the notification URL
and direct the user to success or failed
on each one, you need to listen to the received information

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question