How to implement payment for an order in parts, using an account processor? For example, the order amount is 10,000 rubles, the customer can pay any amount, for example, 3,623 rubles.
How to create an account for this amount?
How to implement payment for an order in parts, using an account processor? For example, the order amount is 10,000 rubles, the customer can pay any amount, for example, 3,623 rubles.
How to create an account for this amount?
Create your form of payment. See if the amount entered is less than what the person must pay using the API to remove the unpaid payment record. And instead of it, form two new ones. On the paid amount and on the balance. Next, start the standard course of payment. Perhaps it is simpler (from the development point of view) to make a two-step payment: set the amount and proceed to payment.
API work with the order is quite well written here
Source: https://ru.stackoverflow.com/questions/707727/
All Articles