Development discussions around Shopify APIs
In building out an App and finding the whole Rails + Shopify App gem to be an incomprehensible mess when adding in recurring application charges, I have a demo store with about 20 "pending" charges that will never be anything but "pending". And I cannot accept them, as the test flag was accidentally set to false. So how does one clean that out? Is there a sneaky way to delete MANY useless recurring application charges?
I know it does not really matter, but for someone with OCD it certainly does matter. I can see how I can run a loop, and create these pending charges forever, and eventually bring Shopify Database to it's knees as these records would just clog the system and never leave.
Yes, seems strange that it can't be done, maybe there's a reason? I can't do it either.
Anyway, for what it's worth, in https://shopify.dev/api/admin/rest/reference/billing/recurringapplicationcharge#properties-2021-07
- expired: The recurring charge was not accepted within 2 days of being created.
and yes, it really does eventually become expired. But it's there when you GET the list of recurring application charges.
Want to see more wierd API behaviour? See my other question
Maybe we can delete Expired entries. I will wait and see. It is just a huge hassle to ask for charges, and be given a massive list of junk.
As a business owner, have you ever wondered when your customer's first impression of yo...By Skye Jun 6, 2023
We're excited to announce improvements to the threaded messaging experience in our communi...By TyW May 31, 2023
Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...By Jacqui May 30, 2023