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?

  • What is the "order amount of 10,000 people"? Add a code to the question. - 0xdb
  • @ 0xdb bitrix the same. There is no other code yet, obviously :) - D-side
  • @ 0xdb put a comma. As for the code, it's not there yet, I'm looking for a class or method, I hope built into the bitrix, from which I can push off. - Max Harper

1 answer 1

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