Updating merchant's app subscription

Updating merchant's app subscription

Redas
Shopify Partner
2 0 1

Hello,

I'm developing an app whose billing logic will be a combination of usage-based and time-based.

I've attached a photo of what the pricing will look like:

Redas_0-1728312710304.png


I want to make it so that when the merchant reaches let's say, orderCount of 51, his plan will automatically update from Lite to Basic, thus his subscription too. However as I understand, it is a must that the merchant accepts this new subscription in the confirmationUrl.

And this is where it becomes a problem for the app`s functionality. If the merchant is not on his computer and the maximum orderCount of his plan was reached, he will not be able confirm his new subscription plan, and then the app will not work until he has updated it.

Is it possible to update the merhant's plan without his confirmation? (For example, I believe a solution would be that the merchant would agree to a max charge of 50 when installing the app)

If it is, how can I do this? As far as I know, there are no GraphQL mutations about updating the merchant's app subscription.

Reply 1 (1)

Arturas_BBOLD
Shopify Partner
1 0 0

I'm facing the same issue.

Would it be possible to authorize max charge of let's say $50 USD/month, but then app decides how much to charge based on monthly usage?

 

I have not found a solution yet, although I see some apps work like this.

For example, I have a Order Printer Pro app that charges 0$ if you have less than 50 orders / month and charges $10 if you have more than 50.

On installing the app we approve max charge, and then it changes based on usage. How is this doable?