The charging sequence determines the sequence in which Sterling Order Management System Software creates authorization or charge requests.
The logic is as follows:
Each payment method on the order is assigned an Actual Charge Sequence based on which authorization and charge requests are created. The requests are created against the payment methods in the ascending order of the payment type's configured charge sequence as defined in the seller configuration and then the payment method's transactional charge sequence as defined in the specific order.
For example, in this scenario, the charge sequence for the seller is specified as follows:
- 0 for CUSTOMER_ACCOUNT
- 1 for CREDIT_CARD
- 2 for OTHER
The payment methods in the order are specified to use the following charge sequence:
- 1 for CreditCard1
- 2 for CustomerAccount1
- 3 for Other1
- 4 for CreditCard2
This results in these payment methods charged in the following sequence:
Also note the following behavior regarding charging:
- The requests created do not exceed the Max Charge Limit specified on the Payment methods.
- If a particular payment method is not valid (information incomplete), the system skips that payment method and creates charges against lower priority payment methods in the order.
- Authorization and Charge requests are not created against suspended payment methods.
- If the payment methods on the order are not sufficient to cover the required funds, the order rolls back to the AWAIT_PAY_INFO status. At this point in the process, the PAYMENT_COLLECTION.INCOMPLETE_PAYMENT_INFORMATION event can be raised.