In App purchase original transaction id is same for different purchases

I created one product in appstoreconnect and am testing in sandbox mode

  • Purchase auto renewal product A . Original transaction id is 12345
  • renews few times and expires
  • After 3 days , purchase same product A . Again the original transaction id received from receipt is 12345 .

Is this expected behaviour? . If yes how to differentiate between old and new purchase?

Same problem here. In addition, what happens if I delete the database and want to start fresh? How to "reset" everything?

In App purchase original transaction id is same for different purchases
 
 
Q