I'm developing a subscription app using post-purchase extension for it, I have several subscriptions example made in orders, but when I try to query available contracts to show this information in app admin the query don't return any contracts.
I'm using the suggest query in the documentation: https://shopify.dev/apps/subscriptions/contracts#query-the-available-contracts-on-a-store, but no results, some one have a clue of what I maybe missing here?
Thank you for your patience. Is this problem still persisting today? If so, does the query return any error, or just an empty list of subscriptions contracts though you know some exist. Could you share the store URL so I could try the documentation's query on it?
I see no subscription contract, which is consistent with the query's response.
However, I see some subscription drafts (aka not active yet). You'd need to update them to set the pricing and delivery policies, add line items and then commit them to turn them into subscription contracts you can retrieve. Hope this helps.
What seems strange for me is that I'm finishing orders buying products with plans like you can see with the post purchase option, in this case, the correct is generate a contract, isn't it?
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022