Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

What webhook fires when a recurring billing app subscription is created?

Solved

What webhook fires when a recurring billing app subscription is created?

CaveDiver
Shopify Partner
17 0 6

According to the document "Implement the AppSubscription resource" ( https://shopify.dev/apps/billing/subscriptions ), the merchant is redirected to "returnUrl" after accepting the charge.

When creating an app subscription with recurring billing, what webhook fires when the charge is accepted?
SUBSCRIPTION_BILLING_ATTEMPTS_SUCCESS ?

If so, where can I can find out what's in the payload sent by this webhook?


Thanks.

Accepted Solution (1)

Bunty
Shopify Partner
133 39 82

This is an accepted solution.

I don't believe there is a webhook, after acceptance Shopify returns to a URL that you define when you create the charge with a GET, the request also includes the new chargeId (see return_url in https://shopify.dev/api/admin/rest/reference/billing/recurringapplicationcharge#create-2021-07)

View solution in original post

Replies 3 (3)

Bunty
Shopify Partner
133 39 82

This is an accepted solution.

I don't believe there is a webhook, after acceptance Shopify returns to a URL that you define when you create the charge with a GET, the request also includes the new chargeId (see return_url in https://shopify.dev/api/admin/rest/reference/billing/recurringapplicationcharge#create-2021-07)

CaveDiver
Shopify Partner
17 0 6

Thanks @Bunty ,

I'll check that out.

CaveDiver
Shopify Partner
17 0 6

Thanks @Bunty ,

I finally got back to this to finish it off.  It's exactly as you said and I have it working now.

Thanks