Jump to content

Commerce API - Create Subscription error: "OAUTH_TOKEN_REQUIRED"

Recommended Posts

  • Replies 4
  • Views 965
  • Created
  • Last Reply
29 minutes ago, teddy2x said:

I've generated an API key with the proper permissions to use Commerce Webhooks API.

I'd like to create a subscription using the Webhooks API.

I receive authorization error: "OAUTH_TOKEN_REQUIRED"

How do you get OAuth token?

To create webhook using api you have to submit application to Squarespace to get your oauth2.0 credentials

Authentication and permissions — Squarespace Developers

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
11 minutes ago, bangank36 said:

To create webhook using api you have to submit application to Squarespace to get your oauth2.0 credentials

Authentication and permissions — Squarespace Developers

I saw that. The form fields for that application don't make sense though. The application asks for "Link to app logo", "Link to privacy policy", "Link to terms and conditions", "Initiate URL", etc. I just want to subscribe to my own order notifications.

 

Have you been through this process before? Got any tips?

Link to comment
11 minutes ago, teddy2x said:

I saw that. The form fields for that application don't make sense though. The application asks for "Link to app logo", "Link to privacy policy", "Link to terms and conditions", "Initiate URL", etc. I just want to subscribe to my own order notifications.

 

Have you been through this process before? Got any tips?

It's their condition to get the credentials, there is no work around. 

If you want your own order notification, consider to use integromat, they has several automation rule for Squarespace that is helpful, it's not cheap but the free plan has generous quota as 1000 operations per months

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
22 minutes ago, bangank36 said:

To create webhook using api you have to submit application to Squarespace to get your oauth2.0 credentials

Authentication and permissions — Squarespace Developers

 

1 minute ago, bangank36 said:

It's their condition to get the credentials, there is no work around. 

If you want your own order notification, consider to use integromat, they has several automation rule for Squarespace that is helpful, it's not cheap but the free plan has generous quota as 1000 operations per months

I will check that out, thanks!

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.