Hi - I'm working webhook handlers for a Shopify app that will leverage the new Subscriptions APIs. I would like to run a production env test of a failed billing attempt (to trigger the `subscription_billing_attempts/failure` webhook) but I can't seem to configure a scenario where that happens.
In order to test this out, I created a subscription contract buy purchasing a subscription product on my dev store with a valid card. Then I triggered a payment method update email, clicked the link in the email and tried updating the card to one that would trigger a failed billing attempt. I've read through the test mode docs and tried the following:
Anybody have any recommendations on how to trigger a failed subscription billing attempt other than manually sending my webhook handler mock data?
Thanks in advance for any help!
I've run in to the same issue and it doesn't seem like there is much help out there. The only thing I can think of is to set the expiration date to expire in the current month and then wait for it to expire. Not very efficient given there are currently 27 days left in this month, but it's all I have.