Reference > Payments subsystem > Payment rules provided in WebSphere Commerce
Early Approval payment rule
The Early Approval payment rule triggers Approve actions at both order capture and release to fulfillment, and a Deposit action at fulfillment. Deposits can take place as they occur, or they can be accumulated for deposit in a single transaction when more than one release is involved.
Common usage: The payment method that is commonly associated with this rule is:
- Credit card
Target states: This rule specifies that the following payment actions should take place for a mapped payment method:
Payment event Target state of payment Description prime payment APPROVED The payment is approved when the order is captured. reserve payment APPROVED The payment is approved when the order is released to fulfillment. Specifically, ensure the payment is in the APPROVED state. If it is, take no action. If it is not, approve it. If it is only partially approved, ensure that the difference is approved.
finalize payment DEPOSITED The payment is deposited when the order is fulfilled.
Example: Credit card payment with multiple releases
A customer places an order for two items that total 300 Euro: item A costs 100 EUR and is in stock. Item B costs 200 EUR and is not in stock but will be available in two days. The customer uses credit card brand X to pay for the order.
Payment event Validation amount Reservation amount Finalization amount Back-end system Amount approved Amount deposited prime payment (order capture) The initial amount is 100 EUR because only one item is available.
100 0 0 100 0 Release A reserve payment (release to fulfillment) The total amount of this part of the order is 100 EUR.
100 100 0 100 0 finalize payment (shipping) 100 100 100 100 100 Release B reserve payment (release to fulfillment) 0 The validation amount is zero at this stage because no validation activity is occurring.
200 0 200 0 finalize payment (shipping) 0 The validation amount is zero at this stage because no validation activity is occurring.
200 200 200