Customize a recurring application charge capped amount breaks usage charges and removes capped limit

Hi there,

In our app we use the api to update a recurring application charge to update the capped_amount on the charge when a user exceeds their capped amount.

To do this we use the recurring_application_charge customize endpoint(https://shopify.dev/api/admin-rest/2022-01/resources/recurringapplicationcharge#put-recurring-application-charges-recurring-application-charge-id-customize?recurring-application-charge[capped-amount]=200) to create a customization. Once the user approves the change in Shopify the capped charge amount is updated.

Until recently this was working great, however, now when we do this and the customer approves the change it does not take effect and it actually wipes out the capped amount completely making it so we can no longer charge the merchant any usage fee. This used to work perfectly and we have not made any changes so this is an issue on Shopify’s end.

This is a big issue as this means that when the user approves us to charge more in a usage fee the result is that we cannot charge a usage fee at all. Please fix this ASAP

Hi Andrew,

I’m Will, the lead of the app billing team here at Shopify. We’re working on a fix for this now. So far, we think the issue may arise when merchants go through charge approval twice. For example, if a merchant is redirected to the charge approval page, approves the charge, and then some how goes back in their browser or returns to the same charge approval page and approves the charge again the capped amount would be set to null.

We are shipping a fix for this soon (should be out tomorrow) but it is curious that you’ve only seen this behaviour starting on February 22. We’ll dig further incase there are some other factors at play.

Best regards,

Will

(will.damon@shopify.com)