Open yangtran093 opened 9 months ago
Description
iOS version - purchaseUpdatedListener keeps receiving the same transaction id when testing with sandbox
Expected Behavior
transaction id should be different when subscribing to other products
Environment:
- react-native-iap: 12.10.5
- react-native: 0.72.1
- Platforms (iOS, Android, emulator, simulator, device): iOS real devices
To Reproduce Steps to reproduce the behavior:
- Call requestSubscription for subscribing to subscription A1
- purchaseUpdatedListener receives a receipt with transaction T1
- Call requestSubscription for subscribing to subscription A2
- purchaseUpdatedListener receives a receipt with transaction T1
Same thing here as well
Experienced the same and a few other issues along those lines. Moving to Storekit2 solved it for me. Not exactly a solution, but maybe something to consider if it's a possibility.
Hi @bitfabrikken I tried to moved to Storekit2 but still getting the same transaction Id, can you share what your code changes to make it work? Thanks
Having the same issue. Any idea how this should be handled? Sometimes I end up getting bunch of previous subscription states right after I try to make a purchase. The clearTransactionIOS might be the solution but I am very confused about that since the example project states that it should not be used in production.
Description
iOS version - purchaseUpdatedListener keeps receiving the same transaction id when testing with sandbox
Expected Behavior
transaction id should be different when subscribing to other products
Environment:
To Reproduce Steps to reproduce the behavior: