I
I
ILoveYAnny2018-02-22 15:17:20
Payment systems
ILoveYAnny, 2018-02-22 15:17:20

How to process a payment correctly if the PS server sometimes times out?

Hello, sometimes Wallet One does not wait for the script to complete and falls by timeout, then after 10 minutes it sends a request again and sometimes it does not wait a second time, a task is added with each request. That is, as if the user did 2 operations. How to solve this problem correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Wells, 2018-02-22
@ILoveYAnny

The first thing to do is read @Adamos' answer. The second thing, of course, is to make the transaction (payment) in the database have some kind of status, and check if it has already been processed before.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question