Jump to content

{orderId} injects Order Number and not the Order ID on the Order Confirmation Page

Recommended Posts

Hi,

Why does the following tag {orderId} inject the Order Number and not the Order ID, on the Order Confirmation Page?

The Order Number is of no use against the Orders API which requires the Order ID. How can I inject the Order ID on the Order Confirmation Page? I require this to kick of an external service which retrieves the Order Details through the Orders API to process the order.

ORDER CONFIRMATION PAGE
Enter code that will be injected into the footer of the order confirmation page after checkout. If you'd like to pass the Order ID, subtotal, grand total, or customer email to a third party service, use the tags below in your code:
  • {orderId}: The order number of the confirmed order
Link to comment
  • Replies 1
  • Views 374
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

22 hours ago, Jaco said:

Why does the following tag {orderId} inject the Order Number and not the Order ID, on the Order Confirmation Page?

Although the {orderId} tag unhelpfully mentions 'Id' it is actually designed to show the order number, not the 'ID'.

The external service should be able to obtain the order ID directly from the Orders API.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.