Subscription contract webhooks not fired

jgile
New Member
1 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?

0 Likes
ewalker
Shopify Staff
Shopify Staff
21 2 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?

bert3
New Member
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.

0 Likes
najeeba
Tourist
5 0 0

Hi @bert3 

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

najeeba_0-1618560176024.png

 

0 Likes