Study case : customers already have the ability to pay only a deposit. So they 'll have to come back and pay the order balance later.
How can I create a payment form ?
- where they will be able to directly submit a payment form and proceed to off-site payment to pay order balance
- without coming from cart/checkout process, (as it has already be done in deposit payment another day)
This will be linked from the user/%/orders/% page.
Is there any commerce API function that could fit that issue ?
I had a look at
commerce_payment_order_transaction_add_form($form, &$form_state, $order but I could not find any doc to implement it, .
PS : related issue: Commerce partial payment