Hey @Jaspreet_Singh, apologies for the confusion on my end there. I should have been clearer. test charges (and any charge on a dev store) don’t produce a transaction record, since no charge is actually processed as you mentioned.
From the Managed Pricing docs: “When a development store subscribes to a plan, Shopify creates a test subscription for that store. Your account isn’t charged for test subscriptions.”
What I had in mind was a real (non-test) charge on a real shop used as a test, where the prorated amount would actually show up in the transaction record. I realize that’s not ideal during development though.
A cleaner path to verify the proration math without a live charge would be:
- Rely on the proration formula from the docs and derive the expected amount
- Subscribe to the APP_SUBSCRIPTIONS_UPDATE webhook and inspect the payload when the subscription is accepted
This is something that we have seen come up before and we have a few suggestions here: Question about app subscription cycles charges - #2 by KyleG-Shopify
Hope this helps, happy to put through a feature request for this as well.