Same original transaction id for two different subsctiptions

We have two test products (auto-renewable subscriptions) - S1 and S2. They have different store product ids. Client application bought first subscription "S1" and sent it to our server. Our server sent this receipt to Apple validation service.


Documentation says about "Original Transaction Identifier" - "All receipts in a chain of renewals for an auto-renewable subscription have the same value for this field.". For "S1" all auto-renewed receipts contains same original transaction id.


According to the client app developer, he did not buy the second subscription. But after several auto-renewals of the first subscription in response from Apple I found information about second subscription and that the second subscription has the same original transaction id as the first one.


And another strange thing - in Apple response i see that original_purchase_date of first and second subscriptions is same (client app developer assures that he did not buy the second subscription), for example:

FIRST SUBSCRIPTION:

"original_transaction_id":"1000000294***869",

"original_purchase_date":"2017-04-27 12:13:02 Etc\/GMT",

"product_id":"com.our.app.s1",


SECOND SUBSCRIPTION:

"original_transaction_id":"1000000294***869",

"original_purchase_date":"2017-04-27 12:13:02 Etc\/GMT",

"product_id":"com.our.app.s2",


In the first iteration of the auto-renewal receipt of first subsuctiption, information about the second subscription does not appear.


Is it normal that two different purchases (with different store product ids) have the same original transaction id? Or is it somehow connected with the test environment of Apple?

I did not find any information on the Internet.

Answered by PBK in 228358022

Are these two subscription products part of the same autorenewable 'group':

https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnectInAppPurchase_Guide/Chapters/CreatingInAppPurchaseProducts.html


If so, it is reasonable that they tie into the same original purchase transaction since a user can switch between them at renewal time.

Accepted Answer

Are these two subscription products part of the same autorenewable 'group':

https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnectInAppPurchase_Guide/Chapters/CreatingInAppPurchaseProducts.html


If so, it is reasonable that they tie into the same original purchase transaction since a user can switch between them at renewal time.

Yes, that was it. Thank you!


But can you tell me one more thing about subscription levels and duration? I did not fully understand the documentation.


Is it possible to create two subsriptions for one level (with different durations) with one store product id?


For example:

Subscription group 1 - G1:

level 1 (first subscription): weekly, monthly (same store product id 1)

level 2 (second subscription): weekly, monthly (same store product id 2)


Or it must be like:

Subscription group 1 - G1:

level 1: weekly (subscription 1 with product id 1), monthly (subscription 2 with product id 2)

level 2: weekly (subscription 3 with product id 3), monthly (subscription 4 with product id 4)

I am not sure about the groups/levels. Each IAP product has its own unique productIdentifier.

Same original transaction id for two different subsctiptions
 
 
Q