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
see "status"
- 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.
User | RANK |
---|---|
55 | |
11 | |
7 | |
5 | |
5 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023