L
L
LastDragon2013-12-21 21:20:21
Payment systems
LastDragon, 2013-12-21 21:20:21

Payment Gateway: Can a user repay invoices they have refused?

I will not describe in detail how it usually works, instead I will briefly describe the problem:
1) The user creates an order #1111
2) We redirect it to the PS website
3) The user changes his mind and refuses to pay for this order
4) The PS redirects it to Fail URL
5) The user goes to the payment page again (presses back in the browser for example)
6) Pays for this order #1111
7) PS calls Result URL
8) PS redirects the user to Success URL
9) ...
Questions:
1) Is this normal? (paying for a canceled order and redirecting to Success URL after visiting Fail URL)
2) If this is normal, when should this order be canceled* from user #1111?
* I can offer this option: it is possible to partially pay the bill from the user's accumulated ye, when canceling the order, they must be returned, but how and when?

Variants in order of complexity of implementation
  1. Отменяем по Fail URL, пользователя шлем на хрен в суппорт ПС
  2. Не отменяем, просто ждем несколько дней и только после этого отменяем заказ
  3. Получаем от ПС актуальный статус платежа и если он отменен - отменяем заказ

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LIAL, 2013-12-21
@LIAL

1. IMHO is not normal. in normal ps such implementation did not meet. And if the user paid, clicked back, then forward, he paid again.
2. At the moment when the user "changed his mind", before sending to failurl

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question