Cant' change the logic oo checkout sylius

Hi everyone I want to keep the content of the cart after payment is failed in my case it deletes all the cart and its items if the payment is failed how I can do that plz? I meane with delete that it changes the state of order from cart to completed I have to do multiple changes on the state machine like the following but without success

sylius_order_checkout:
class: "%sylius.model.order.class%"
property_path: checkoutState
graph: sylius_order_checkout
state_machine_class: "%sylius.state_machine.class%"
states:
    cart: ~
    paid: ~
    addressed: ~
    mobile_verified: ~
    shipping_selected: ~
    shipping_skipped: ~
    payment_skipped: ~
    payment_selected: ~
    completed: ~
    cancelled: ~
    restore: ~
transitions:
    address:
        from: [ cart, addressed, mobile_verified, shipping_selected, shipping_skipped, payment_selected, payment_skipped ]
        to: addressed
    mobile_verify:
        from: [ addressed ]
        to: mobile_verified
    select_shipping:
        from: [ mobile_verified, addressed, shipping_selected, payment_selected, payment_skipped ]
        to: shipping_selected
    select_payment:
        from: [ mobile_verified, payment_selected, shipping_skipped, shipping_selected ]
        to: payment_selected
    fail:
        from: [ cancelled, new, processing, completed, mobile_verified, payment_selected, shipping_skipped, shipping_selected ]
        to: cart
    cancel: 
        from: [ new, awaiting_payment, cancelled, completed,ready, completed ]
        to: cart
    process:
        from: [ new ]
        to: processing
    restore:
        from: [ new, awaiting_payment, cancelled, completed,ready, completed ]
        to: cart
    complete:
        from: [ paid ] #mobile_verified, payment_selected, payment_skipped 
        to: completed

Any help plz