Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Is it normal that app spending test mode let you have a negative balance and skip capped webhook?

Is it normal that app spending test mode let you have a negative balance and skip capped webhook?

idango
Shopify Partner
16 0 3

Hi,

 

I'm trying to use the `appSubscriptionCreate` mutation with the `test` set to true, successfully creating a subscription with a $20 app spending cap. Subscribing to theAPP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT webhook successfully.

 

When I'm getting to 90% ($18 spent), I'm not receiving any webhook (while receiving for the APP_SUBSCRIPTIONS_UPDATE), and not only that, it lets me get to a negative app spent limit:

idango_0-1706246983303.png

 

 

Is that normal? It sounds to me like a bug. I would love to hear how I should test this feature with so many expectations on `test` mode.

Replies 2 (2)

Liam
Community Manager
3108 344 910

Hi Idango,

 

This could be a limitation with using the test mode - I'll look into this further and get back to you asap

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

idango
Shopify Partner
16 0 3

Hi, any updates? That is really confusing, as it won't let us test the real scenario by getting the `APP_SUBSCRIPTIONS_APPROACHING_CAPPED_AMOUNT` webhook.