• Resolved karanjhanwer

    (@karanjhanwer)


    Hi,

    When a customer reaches the checkout page and fills the details and then proceeds to pay for the product, the order number is generated before the payment is made. How do I remove the order number?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Claudio Sanches

    (@claudiosanches)

    Hello @karanjhanwer,

    Orders are created even if a payment fail because it allows customers to try again, and also to register on your store, so you could trigger the invoice email.

    Also note that those numbers comes from the wp_posts table, and share the same numbers (IDs) with posts, pages, attachments, and many other objects on WordPress, so there’s no really a reason to try to keep it in sequential order.

    If you want to keep the in sequential order, you should use a plugin like: https://woocommerce.com/products/sequential-order-numbers-pro/

    I hope it helps you.

    Thread Starter karanjhanwer

    (@karanjhanwer)

    Thank you for your response Claudio. But is there a way to not display it? Some of my customers were confused since they thought the order went through without payment

    Plugin Contributor Claudio Sanches

    (@claudiosanches)

    Hello @karanjhanwer,

    It depends, what you want to not display?

    Thread Starter karanjhanwer

    (@karanjhanwer)

    I do not want to display the order number after filling the details in the checkout page. The order number should only be displayed once the payment is made

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Order number is generated before payment’ is closed to new replies.