Изменения

Перейти к навигации Перейти к поиску

Nemo web services payment integration for mobile apps

126 байт добавлено, 13:30, 23 ноября 2018
м
Description of the background order synchronization
== Available web-services ==
Before sending payment transactions , you have to create a successfull booking. Status of Order should have the order should be "booked"status. After that , you can go proceed to the payment.
There are three web services used in payment process:
* '''Payment initialization'''
== Payment workflow ==
Below there is the scheme of payment workflow.
[[Файл:Payment_workflow.png|760px|999px]]
*Due to some reasons (lost internet connection, etc.) user was not redirected to UrlToCatch.
*Payment status of the order was not delivered yet from payment gateway to Nemo system and it the additional one is required additional in a few seconds or minutes.
Order synchronization is periodically sending UpdateBook request to get actual common and payment statuses.
<span style="background-color: rgb(255, 240, 245)"><span style="font-size: large"><span style="color: rgb(255, 0, 0)">!</span></span> '''Warning!''' Do not send this request very often. No more than one request per 3 minutes. Also do not send it infinitely while you do not get PaymentStatus=”fully_paid” and Status=”ticket”. Limit the total number of synchronization requests to some value.
There is a recommendation for periods of synchronization. Firstly send synchronization request 5 times for every 3 minutes. Then send request 6 times for every 10 minutes. If successfull statuses were not retrieved, you should terminate synchronization.
 
== See also ==
 
*[[Agency API. Payments]]
 
[[Категория:Агентский API]]
[[Категория:English]]
1382
правки

Навигация

'