Why original_transaction_id is changed when ios subscription renewing in sandbox environment?
Per this doc
original_transaction_id
This value is the same for all receipts that have been generated for a specific subscription. This value is useful for relating together multiple iOS 6 style transaction receipts for the same individual customer’s subscription.
Recently, I find the original_transaction_id is changed when subscription renewing in sandbox environment, which is same as transaction_id. However, only the original_transaction_id was same, the transaction_id was changed when subscription renewing several months ago.
Here is one subscription with 3 auto_renew receipts
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476973577',
original_transaction_id: '1000000476973577',
purchase_date: '2018-11-23 05:47:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:47:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:47:07 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:47:07 America/Los_Angeles',
expires_date: '2018-11-23 05:50:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449251',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476974277',
original_transaction_id: '1000000476974277',
purchase_date: '2018-11-23 05:50:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:49:44 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:49:44 America/Los_Angeles',
expires_date: '2018-11-23 05:53:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449274',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476975015',
original_transaction_id: '1000000476975015',
purchase_date: '2018-11-23 05:53:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:52:48 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:52:48 America/Los_Angeles',
expires_date: '2018-11-23 05:56:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:56:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449309',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' }
The original_transaction_id and transaction_id are same in the above three receipts.
Was the ios subscription behavior changed? or is there a bug in sandbox environment?
ios in-app-purchase
add a comment |
Per this doc
original_transaction_id
This value is the same for all receipts that have been generated for a specific subscription. This value is useful for relating together multiple iOS 6 style transaction receipts for the same individual customer’s subscription.
Recently, I find the original_transaction_id is changed when subscription renewing in sandbox environment, which is same as transaction_id. However, only the original_transaction_id was same, the transaction_id was changed when subscription renewing several months ago.
Here is one subscription with 3 auto_renew receipts
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476973577',
original_transaction_id: '1000000476973577',
purchase_date: '2018-11-23 05:47:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:47:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:47:07 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:47:07 America/Los_Angeles',
expires_date: '2018-11-23 05:50:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449251',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476974277',
original_transaction_id: '1000000476974277',
purchase_date: '2018-11-23 05:50:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:49:44 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:49:44 America/Los_Angeles',
expires_date: '2018-11-23 05:53:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449274',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476975015',
original_transaction_id: '1000000476975015',
purchase_date: '2018-11-23 05:53:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:52:48 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:52:48 America/Los_Angeles',
expires_date: '2018-11-23 05:56:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:56:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449309',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' }
The original_transaction_id and transaction_id are same in the above three receipts.
Was the ios subscription behavior changed? or is there a bug in sandbox environment?
ios in-app-purchase
add a comment |
Per this doc
original_transaction_id
This value is the same for all receipts that have been generated for a specific subscription. This value is useful for relating together multiple iOS 6 style transaction receipts for the same individual customer’s subscription.
Recently, I find the original_transaction_id is changed when subscription renewing in sandbox environment, which is same as transaction_id. However, only the original_transaction_id was same, the transaction_id was changed when subscription renewing several months ago.
Here is one subscription with 3 auto_renew receipts
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476973577',
original_transaction_id: '1000000476973577',
purchase_date: '2018-11-23 05:47:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:47:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:47:07 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:47:07 America/Los_Angeles',
expires_date: '2018-11-23 05:50:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449251',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476974277',
original_transaction_id: '1000000476974277',
purchase_date: '2018-11-23 05:50:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:49:44 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:49:44 America/Los_Angeles',
expires_date: '2018-11-23 05:53:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449274',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476975015',
original_transaction_id: '1000000476975015',
purchase_date: '2018-11-23 05:53:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:52:48 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:52:48 America/Los_Angeles',
expires_date: '2018-11-23 05:56:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:56:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449309',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' }
The original_transaction_id and transaction_id are same in the above three receipts.
Was the ios subscription behavior changed? or is there a bug in sandbox environment?
ios in-app-purchase
Per this doc
original_transaction_id
This value is the same for all receipts that have been generated for a specific subscription. This value is useful for relating together multiple iOS 6 style transaction receipts for the same individual customer’s subscription.
Recently, I find the original_transaction_id is changed when subscription renewing in sandbox environment, which is same as transaction_id. However, only the original_transaction_id was same, the transaction_id was changed when subscription renewing several months ago.
Here is one subscription with 3 auto_renew receipts
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476973577',
original_transaction_id: '1000000476973577',
purchase_date: '2018-11-23 05:47:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:47:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:47:07 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:47:07 America/Los_Angeles',
expires_date: '2018-11-23 05:50:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449251',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476974277',
original_transaction_id: '1000000476974277',
purchase_date: '2018-11-23 05:50:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:50:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:49:44 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:49:44 America/Los_Angeles',
expires_date: '2018-11-23 05:53:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449274',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' },
{ quantity: '1',
product_id: 'com....',
transaction_id: '1000000476975015',
original_transaction_id: '1000000476975015',
purchase_date: '2018-11-23 05:53:39 Etc/GMT',
purchase_date_pst: '2018-11-22 21:53:39 America/Los_Angeles',
original_purchase_date: '2018-11-23 05:52:48 Etc/GMT',
original_purchase_date_pst: '2018-11-22 21:52:48 America/Los_Angeles',
expires_date: '2018-11-23 05:56:39 Etc/GMT',
expires_date_pst: '2018-11-22 21:56:39 America/Los_Angeles',
web_order_line_item_id: '1000000041449309',
is_trial_period: 'false',
is_in_intro_offer_period: 'false' }
The original_transaction_id and transaction_id are same in the above three receipts.
Was the ios subscription behavior changed? or is there a bug in sandbox environment?
ios in-app-purchase
ios in-app-purchase
asked Nov 23 '18 at 8:29
zangwzangw
24.1k795116
24.1k795116
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443058%2fwhy-original-transaction-id-is-changed-when-ios-subscription-renewing-in-sandbox%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443058%2fwhy-original-transaction-id-is-changed-when-ios-subscription-renewing-in-sandbox%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown