Hello,
I have two plans for my IAP subscription (auto renew). They are both $3.99 at the moment. They are in the same group. I'm going to change the prices after I figure this out so they're not the same. But I shouldn't have this error.
If I sign up (in the sandbox) with the "normal" plan, it's great. Then I change my plan to the "Pro" plan using the popup like this:
AppStore.showManageSubscriptions(in: windowScene as! UIWindowScene)
Then I get the status of the plan like with a request to the apple server api:
${appleApiUrl}/inApps/v1/subscriptions/${user.originalTransactionId}
And everything is great, it shows "Pro" plan as the last transaction.
But then if I open the dialog again and switch back to the "normal" plan, when I call the apple server api it just shows the last transaction is the pro plan. So I can't detect that somebody switched back. It's unlikely to happen, but definitely could. Please fix! Thank you!