This request will attempt to process all payments associated with the referenced Order.
The Order will first be checked for a consistent state, i.e. all associated payments must add up to the order total and the amounts charged to an EBT payment method cannot exceed the SNAP eligible total. If these checks fail, you will receive a 400 response and no payment methods will be charged.
Payments are always processed in a consistent order. Payments to an EBT card are processed first. If there are any errors encountered when processing a EBT payment, then the Forage backend will not attempt to process any furhter payment methods.
Once EBT payments have been processed successfully, the Forage backend will attempt to process the charges to non-EBT cards.
Once all payments are processed successfully,
- The status of the Order will be updated to succeeded
- A POST request will be made to your client indicating whether the Order succeeded or failed.
Note that 2 PIN entries must be posted in the request body if there are payments on both the EBT SNAP and EBT Cash accounts. The server will only look at the PIN data if it is needed to process any associated payments. Pass an emptry string if the PIN data is not needed.