Subscription billing attempt failure

The subscription billing attempt failure trigger starts a workflow when a subscription billing attempt fails.

Data provided

The following data is provided to workflows that start with the subscription billing attempt failure trigger.

Data that is provided to workflows with the trigger.
DataDescription
subscription billing attemptThe subscription billing attempt that failed. Allows accessing data on the GraphQL Admin API Subscription billing attempt object
subscription contractThe subscription contract that was created. Allows accessing data on the GraphQL Admin API Subscription Contract object

Testing the trigger

To test an active workflow that starts with this trigger, you can:

  • Update a payment method for a subscription using 4000000000000002 credit card number with Shop Pay. Then create a billing attempt against the subscription and the webhook will fire.
  • Update a payment method for a subscription using 4000000000009995 credit card number with Stripe. Then create a billing attempt against the subscription and the webhook will fire.
Can’t find the answers you’re looking for? We’re here to help.