Hey guys I am currently working on a project with in app purchase I can fetch past purchases if I use the device that purchased a product but if I change device with the same Apple ID there are no records of past purchases. I already used in_app_purchase and flutter_in_app_purchase both of their functions in fetching past purchases' have the same result
Asked
Active
Viewed 484 times
0
-
I assume your app isn't available on the App Store and therefore you tested only in the sandbox? – Paul Schröder Mar 07 '20 at 17:35
-
My App is on the App Store but the testing is only in sandbox, we tried it testing it in another device and got no receipt, is it normal if we are just using the testing account? – Qonvex620 Mar 09 '20 at 01:18
-
Yes, this is "correct" behavior for sandbox. Trigger a `SKReceiptRefreshRequest` and also your second device should get the (correct) receipt – Paul Schröder Mar 09 '20 at 07:14
-
SKReceiptRefreshRequest will work as pastPurchase in in_app_purchase right? thanks bro – Qonvex620 Mar 10 '20 at 07:11
-
1It will fetch the latest receipt and therefore you will have access to all previous purchases – Paul Schröder Mar 10 '20 at 07:34