Support » Plugin: WooCommerce » URL for Chekout when Order ID & _order_key is known

  • Resolved KoolPal

    (@koolpal)


    Hi,

    Currently, the thank you url looks something like this:

    https://mysite/checkout/order-received/785/?key=wc_order_5b909f1966e92

    If I have the order ID and the order key what would a similar url look like for the checkout url?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support AW

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    I’m not sure that I understand the question, as the order id and order key are not created until the order is placed, so there is not a way to have those while in checkout.

    If that’s not what you are meaning, can you restate the question to help me understand what you are wanting?

    Have a great one!

    @slash1andy Thank you for replying.

    I have created a manual order from Admin and saved it. Hence I have the order ID as well as the Order key.

    With this information, how can I get the checkout url? What does the checkout url look like?

    Thanks

    Plugin Support AW

    (@slash1andy)

    Automattic Happiness Engineer

    OK, I get what you are asking!

    You can either use the tools when creating a new order (as long as it’s in the
    Pending Payment status) to send the invoice to the customer (with a link to pay of course), or you can grab the link to the customer payment page from the order as well: https://cld.wthms.co/oEGXU6

    That is a screenshot of the customer payment page link.

    Hopefully that helps! Have a great one!

    @slash1andy

    Thank you for trying this.

    I am already aware of the Order Pay Link which is like this:
    https://mysite/checkout/order-pay/147/?pay_for_order=true&key=wc_order_agWK0c13ze0eJ

    I am also aware of the cart url which is like this:
    https://mysite/cart/?cid=a97da629b098b75c294dffdc3e463904

    What I am interested in knowing is the checkout URL.

    Can you please help me with its structure?

    Thanks

    Plugin Support AW

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there again!

    The only checkout that you would see on the manual order creation would be the payment page, there’s not a way to get to the full checkout page from an order that’s already placed (manually).

    Hopefully that helps! Have a great one!

    @slash1andy

    I will figure another way to achieve what I am looking for.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘URL for Chekout when Order ID & _order_key is known’ is closed to new replies.