• Hello,

    I’m building a payement gateway plugin, the gateway i’m working with is obliging me to generate a new order id for every checkout.
    Here’s my case

    1- user checkout
    2- error occurs or cancels the payment
    3- a pending order is created in woo
    4- the user tries another time to checkout

    how can i change the order id or delete the previous order and generate a new order with the same properties of the old one

    Regards

  • The topic ‘increment order id’ is closed to new replies.