We’re sorry but this documentation section is outdated. Please have that in mind when trying to use it. You can help us making documentation up to date via Sylius Github. Thank you!
The following payment states are available by default:
|STATE_CART||cart||Initial; Before the subject of payment is completed|
|STATE_NEW||new||After completion of the payment subject|
|STATE_PROCESSING||processing||Payment which is in process of verification|
|STATE_FAILED||failed||Payment has failed|
|STATE_CANCELLED||cancelled||Cancelled by a customer or manager|
|STATE_REFUNDED||refunded||A completed payment which has been refunded|
|STATE_UNKNOWN||unknown||Auxiliary state for handling external states|
All the above states are constant fields in the PaymentInterface.
The following payment transitions are available by default:
There’s also the default graph name included:
All of above transitions and the graph are constant fields in the PaymentTransitions class.