I’m using “DirectPay: DirectPayment” as a payment method. I set the delivery state to “Processing”, which sets the order state to “Processing” as well. Now, when the delivery is shipped (delivered), I want to change the delivery state to “Delivered” without automatically changing payment status to “Paid”. Is this possible?
The reason is because of external, manual, invoice handling. When the invoice is paid by the customer, the ERP should send a request to our API stating that the payment is done, but at this time, the package could’ve been delivered already.
Are you using Accelerator or Litium connect for this? In Litium Connect, we do not support that flow. If you are just using this in accelerator then you can remove the Capture part from accelerator code.