Subscription contract webhooks not fired

jgile
Visitor
2 0 0

I have created "subscription only" products, but on purchase a contract is not created.  I get the new order webhooks, but nothing for contracts.  Ideas?

Replies 3 (3)

ewalker
Shopify Staff
30 4 7

Without more information, it's difficult to help troubleshoot your problem. For new development with the subscription API, we recommend you start by following the tutorials. This is the section on selling plans and selling plan groups.

- Have you been able to create an order with a subscription contract for non subscription only products?

- How did to determine the order did not have any attached subscription contracts? Have you tried querying for the subscription contract off of the order?

- What is the definition of the selling plan you used?

- Have you registered for the SubscriptionContract webhook?

To learn more visit the Shopify Help Center or the Community Blog.

bert3
Visitor
1 0 0

How do you subscribe to the SubscriptionContract webhook?

If I go to Settings>Notifications>Webhooks>Create Webhook it does not show up in the downdown menu.

najeeba
Shopify Partner
13 2 5

Hi @bert3 

You need to use the API to create webhooks for subscription contrats:

najeeba_0-1618560176024.png