The commission status is directly linked to the order status that generated the commission, regardless of the payment method used. In the following table, you can see how the commission status changes based on the order status.
Order status | Commission status |
---|---|
on-hold | pending |
processing | pending |
pending | pending |
cancelled | cancelled |
failed | cancelled |
refunded | refunded |
completed | unpaid |
So, if we opt for the manual payment of commissions, commissions can be paid when they get the status unpaid.
If we have activated any of the automatic payment gateways, when the commission is ready to be paid (so when the order is set to completed), it will automatically change to
- processing (if the gateway needs some processing time, like with PayPal)
- and finally to paid, if the payment goes through.
If the payment does not go through for any reason, the commission status will automatically switch back to unpaid.