Below are the dumps of data received in ionic cordova app from Google billing or in-app purchase plugin events.
See this article for a summarized version – State changes during an in-app purchase in Ionic Cordova
this.store.get(my_product_id) {"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"valid","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":true,"owned":false,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":null,"transaction":null,"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true} this.store.products Products: [{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"valid","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":true,"owned":false,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":null,"transaction":null,"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true}] this.store.when(my_product_id).updated((product: IAPProduct) Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"valid","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":true,"owned":false,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":null,"transaction":null,"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true} AFTER THE PURCHASE INITIATED -- Not Owned or Expired Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"requested","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":false,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":null,"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true} login.page.ts:108 this.store.order("com.myapp.annualsubscription2").then(async (result) store.Product {id: 'com.myapp.annualsubscription2', alias: 'com.myapp.annualsubscription2', type: 'paid subscription', group: 'default', state: 'initiated', …} login.page.ts:80 Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"initiated","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":false,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":null,"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true} ------------------------------ When already purchased and valid - if tried to purchase it will call "Updated" and the below data will be returned. Owned is true and canPurchase is false Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"requested","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":"","oldSku":"com.myapp.annualsubscription2","oldPurchaseToken":"imggoijiflaahpaefffokpom.AO-J1OyBHUqG13A6fFZjQ2wVGo08oGFHh5ilnnwlnJ1-5dUGTEr7xt2IhejvGmuYPxNMSVyKnzcZHx93X7d0lkPgX9jOGRiSCgj2Iw7gXnYHfJ_l231h-I8"},"transaction":{"type":"android-playstore","id":"GPA.3345-8962-9923-27341","purchaseToken":"imggoijiflaahpaefffokpom.AO-J1OyBHUqG13A6fFZjQ2wVGo08oGFHh5ilnnwlnJ1-5dUGTEr7xt2IhejvGmuYPxNMSVyKnzcZHx93X7d0lkPgX9jOGRiSCgj2Iw7gXnYHfJ_l231h-I8","purchaseState":0,"receipt":"{"orderId":"GPA.3345-8962-9923-27341","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672226442183,"purchaseState":0,"purchaseToken":"imggoijiflaahpaefffokpom.AO-J1OyBHUqG13A6fFZjQ2wVGo08oGFHh5ilnnwlnJ1-5dUGTEr7xt2IhejvGmuYPxNMSVyKnzcZHx93X7d0lkPgX9jOGRiSCgj2Iw7gXnYHfJ_l231h-I8","autoRenewing":true,"acknowledged":true}","signature":"EZEp+5T/YNruAJwcJL0xBYxV9ZZDTMxM5cj3UZArlrS3F2aToJx8G7ZE7YJyl2iv99QyaLrjJGeqlFVRtUmW+zEzV/JtyYGwPdUqtatejYkZGTijFF01k/396HFJK29kE0MOV89EQr/6AncpuVjVGrP9Akg7/jdqk5LDgiQSBygT+ISZPTRBZQsQhx2rZoT+l2FabxRmxU3ojt/93bvWFKRaPVb9CNWmGkiw55E/652CDlkxbV8SzoaSRkW08vSFz3T1cKWW/BcRwLCjVdmdOHQzvm4tbUMJkHPgt+XimI7FdQBkvCRWtWujBA63Hus80hwAqseGaGzZaiaC3+WpKg=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":true,"renewalIntent":"Renew"} AFTER PURCHASE IS DONE --------------------------------- Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"initiated","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":{"type":"android-playstore"},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":true,"renewalIntent":"Renew"} login.page.ts:80 Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"approved","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":{"type":"android-playstore","id":"GPA.3316-7182-4489-05118","purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","purchaseState":0,"receipt":"{"orderId":"GPA.3316-7182-4489-05118","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672228274746,"purchaseState":0,"purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","autoRenewing":true,"acknowledged":false}","signature":"PZ/BRKILYTgVhQV8ZRe4Gxnqw9GcwSItEcreABctaMLGvNaGYLmNwM/bUHJc/C293TK4RFPJOBaGMgKD72zaOPkxeffFoe9zzh+1zRbCdCuUce4xPdsIepxhO30kIpdT+0jXoASM8U4duRGYiMcaPlBpVQOTQwtcnmjtOhHQbKtF7kosE8Mev3cpn5PTh2lPcNpio4LSuEc6akZtgXctMkkCOw5asrg8g9dUdgzavMgPc1vofcWQxU7L4XyvuQJsNW55MWNV4aMpIu6+yNJ8nfjSXRK77x130v8CtzHaN5taX7DQff5dYvtx5zcWrxjWfIJUNuuAWEwkIP3k/nCLtw=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":true,"renewalIntent":"Renew"} login.page.ts:80 Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"approved","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":{"type":"android-playstore","id":"GPA.3316-7182-4489-05118","purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","purchaseState":0,"receipt":"{"orderId":"GPA.3316-7182-4489-05118","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672228274746,"purchaseState":0,"purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","autoRenewing":true,"acknowledged":false}","signature":"PZ/BRKILYTgVhQV8ZRe4Gxnqw9GcwSItEcreABctaMLGvNaGYLmNwM/bUHJc/C293TK4RFPJOBaGMgKD72zaOPkxeffFoe9zzh+1zRbCdCuUce4xPdsIepxhO30kIpdT+0jXoASM8U4duRGYiMcaPlBpVQOTQwtcnmjtOhHQbKtF7kosE8Mev3cpn5PTh2lPcNpio4LSuEc6akZtgXctMkkCOw5asrg8g9dUdgzavMgPc1vofcWQxU7L4XyvuQJsNW55MWNV4aMpIu6+yNJ8nfjSXRK77x130v8CtzHaN5taX7DQff5dYvtx5zcWrxjWfIJUNuuAWEwkIP3k/nCLtw=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":false,"renewalIntent":"Renew"} login.page.ts:80 Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"approved","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":{"type":"android-playstore","id":"GPA.3316-7182-4489-05118","purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","purchaseState":0,"receipt":"{"orderId":"GPA.3316-7182-4489-05118","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672228274746,"purchaseState":0,"purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","autoRenewing":true,"acknowledged":false}","signature":"PZ/BRKILYTgVhQV8ZRe4Gxnqw9GcwSItEcreABctaMLGvNaGYLmNwM/bUHJc/C293TK4RFPJOBaGMgKD72zaOPkxeffFoe9zzh+1zRbCdCuUce4xPdsIepxhO30kIpdT+0jXoASM8U4duRGYiMcaPlBpVQOTQwtcnmjtOhHQbKtF7kosE8Mev3cpn5PTh2lPcNpio4LSuEc6akZtgXctMkkCOw5asrg8g9dUdgzavMgPc1vofcWQxU7L4XyvuQJsNW55MWNV4aMpIu6+yNJ8nfjSXRK77x130v8CtzHaN5taX7DQff5dYvtx5zcWrxjWfIJUNuuAWEwkIP3k/nCLtw=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":false,"renewalIntent":"Renew"} login.page.ts:80 Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"approved","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":{"type":"android-playstore","id":"GPA.3316-7182-4489-05118","purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","purchaseState":0,"receipt":"{"orderId":"GPA.3316-7182-4489-05118","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672228274746,"purchaseState":0,"purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","autoRenewing":true,"acknowledged":false}","signature":"PZ/BRKILYTgVhQV8ZRe4Gxnqw9GcwSItEcreABctaMLGvNaGYLmNwM/bUHJc/C293TK4RFPJOBaGMgKD72zaOPkxeffFoe9zzh+1zRbCdCuUce4xPdsIepxhO30kIpdT+0jXoASM8U4duRGYiMcaPlBpVQOTQwtcnmjtOhHQbKtF7kosE8Mev3cpn5PTh2lPcNpio4LSuEc6akZtgXctMkkCOw5asrg8g9dUdgzavMgPc1vofcWQxU7L4XyvuQJsNW55MWNV4aMpIu6+yNJ8nfjSXRK77x130v8CtzHaN5taX7DQff5dYvtx5zcWrxjWfIJUNuuAWEwkIP3k/nCLtw=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":false,"renewalIntent":"Renew"} login.page.ts:80 Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"finished","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":{"type":"android-playstore","id":"GPA.3316-7182-4489-05118","purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","purchaseState":0,"receipt":"{"orderId":"GPA.3316-7182-4489-05118","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672228274746,"purchaseState":0,"purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","autoRenewing":true,"acknowledged":false}","signature":"PZ/BRKILYTgVhQV8ZRe4Gxnqw9GcwSItEcreABctaMLGvNaGYLmNwM/bUHJc/C293TK4RFPJOBaGMgKD72zaOPkxeffFoe9zzh+1zRbCdCuUce4xPdsIepxhO30kIpdT+0jXoASM8U4duRGYiMcaPlBpVQOTQwtcnmjtOhHQbKtF7kosE8Mev3cpn5PTh2lPcNpio4LSuEc6akZtgXctMkkCOw5asrg8g9dUdgzavMgPc1vofcWQxU7L4XyvuQJsNW55MWNV4aMpIu6+yNJ8nfjSXRK77x130v8CtzHaN5taX7DQff5dYvtx5zcWrxjWfIJUNuuAWEwkIP3k/nCLtw=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":false,"renewalIntent":"Renew"} login.page.ts:80 Updated{"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"owned","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":{"applicationUsername":""},"transaction":{"type":"android-playstore","id":"GPA.3316-7182-4489-05118","purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","purchaseState":0,"receipt":"{"orderId":"GPA.3316-7182-4489-05118","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672228274746,"purchaseState":0,"purchaseToken":"geeofnjlooihoghajeghgfah.AO-J1Ozu_V7ScY_5aC2hM-t0sMMgERU56UNaypCX4FjJ_yGPpLAxiMbvN4oraW_iUfqlGyAiSLgbTbofrv4-81HP-AQGY_FtCAc05xLRrd2GXb31Cr3IO0o","autoRenewing":true,"acknowledged":false}","signature":"PZ/BRKILYTgVhQV8ZRe4Gxnqw9GcwSItEcreABctaMLGvNaGYLmNwM/bUHJc/C293TK4RFPJOBaGMgKD72zaOPkxeffFoe9zzh+1zRbCdCuUce4xPdsIepxhO30kIpdT+0jXoASM8U4duRGYiMcaPlBpVQOTQwtcnmjtOhHQbKtF7kosE8Mev3cpn5PTh2lPcNpio4LSuEc6akZtgXctMkkCOw5asrg8g9dUdgzavMgPc1vofcWQxU7L4XyvuQJsNW55MWNV4aMpIu6+yNJ8nfjSXRK77x130v8CtzHaN5taX7DQff5dYvtx5zcWrxjWfIJUNuuAWEwkIP3k/nCLtw=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":true,"renewalIntent":"Renew"} this.store.order("com.myapp.annualsubscription2").then First it is giving the OLD details //NOTE "state" is "initiated" "purchaseState" is "0", "renewalIntent" is "Lapse" { "id": "com.myapp.annualsubscription2", "alias": "com.myapp.annualsubscription2", "type": "paid subscription", "group": "default", "state": "initiated", "title": "Annual Subscription", "description": "Play unlimited with an Annual Subscription", "priceMicros": 4000000, "price": "₹4.00", "currency": "INR", "countryCode": null, "loaded": true, "canPurchase": false, "owned": true, "introPrice": "", "introPriceMicros": "", "introPricePeriod": null, "introPriceNumberOfPeriods": null, "introPricePeriodUnit": null, "introPriceSubscriptionPeriod": null, "introPricePaymentMode": null, "ineligibleForIntroPrice": null, "discounts": [], "downloading": false, "downloaded": false, "additionalData": { "applicationUsername": "" }, "transaction": { "type": "android-playstore", "id": "GPA.3399-8293-2056-78889", "purchaseToken": "gihamknkcpkdldnpbbknpopk.AO-J1Ox79aJrQexjiainR5XBKtsk-WmcJ70bhYzps1khZ6U53b91n2-U8eIKZUnOh9jZqVOcE-a12eqJtp_GowFcEaLrxMkq2b5bCzIPCQ207rFWVMPQBz8", "purchaseState": 0, "receipt": "{"orderId":"GPA.3399-8293-2056-78889","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672254433028,"purchaseState":0,"purchaseToken":"gihamknkcpkdldnpbbknpopk.AO-J1Ox79aJrQexjiainR5XBKtsk-WmcJ70bhYzps1khZ6U53b91n2-U8eIKZUnOh9jZqVOcE-a12eqJtp_GowFcEaLrxMkq2b5bCzIPCQ207rFWVMPQBz8","autoRenewing":false,"acknowledged":true}", "signature": "rRZXyzwlehHBYcQir2QFYiAEncB8uFPyVX5OoS2whERDS+yObqtDV4GQTZ6vSRt6NzmU1PXMXLRoWR5vW82PhZ9FlNqLvQ6Z3EYe/NfUy3xAtKE5fxpFlVxqiiJ70S9RWsN0WfDTkluj7Tp4Jkm2eH1ciHBlnxkYWkuWtxmQlL3s7DI1W/PpIDh/ao+w5IJI/H1/QJ7svZezu/Da4dtz8TZoxX7nI8sib14ryjjU40zvcDc4i5B1wdJ+SdWrByHlEsGr/ZvwR7SkXVp6Oeq0bm47uIyqu+vN6X8RM0cdtGQ08w0UeHPtHM9ssKWrYJvZS9S4lIO8IAT+tD/F7Gxc9w==" }, "trialPeriod": null, "trialPeriodUnit": null, "billingPeriod": 1, "billingPeriodUnit": "Year", "valid": true, "acknowledged": true, "renewalIntent": "Lapse" } /////// THE AUTO RENEW KEEPS RENEWING AUTOMATICALLY -- THE PURCHASE TIME REMAINS SAME, THE ORIGINAL PURCHASE TIME. Owned: {"id":"com.myapp.annualsubscription2","alias":"com.myapp.annualsubscription2","type":"paid subscription","group":"default","state":"owned","title":"Annual Subscription","description":"Play unlimited with an Annual Subscription","priceMicros":4000000,"price":"₹4.00","currency":"INR","countryCode":null,"loaded":true,"canPurchase":false,"owned":true,"introPrice":"","introPriceMicros":"","introPricePeriod":null,"introPriceNumberOfPeriods":null,"introPricePeriodUnit":null,"introPriceSubscriptionPeriod":null,"introPricePaymentMode":null,"ineligibleForIntroPrice":null,"discounts":[],"downloading":false,"downloaded":false,"additionalData":null,"transaction":{"type":"android-playstore","id":"GPA.3375-4850-7157-68633","purchaseToken":"oonhpdlmpllpgdgejmamjcbl.AO-J1Ow5YVxekuyW31hJVFx0klzO40IaO3_CKwCYE41Wp-GHLPM8OcPxIM1oUcuxfVY70cldN52tT3MS79yDewB6VI6xPctTihxRKKh_os7Z9Jk7LIqm-HI","purchaseState":0,"receipt":"{"orderId":"GPA.3375-4850-7157-68633","packageName":"com.synchrodipity.psychiccircuit","productId":"com.myapp.annualsubscription2","purchaseTime":1672304595703,"purchaseState":0,"purchaseToken":"oonhpdlmpllpgdgejmamjcbl.AO-J1Ow5YVxekuyW31hJVFx0klzO40IaO3_CKwCYE41Wp-GHLPM8OcPxIM1oUcuxfVY70cldN52tT3MS79yDewB6VI6xPctTihxRKKh_os7Z9Jk7LIqm-HI","autoRenewing":true,"acknowledged":true}","signature":"HepM1z7VCy1S/faOftTsIx0RsntF4HmNPwzeY8WsoGwPyec2y9RLThCNx0zlaFcD21EGBV7ljLDCQD6WHC8WrBrzJwHqqFFZpF7JD/WbwiiWz4MbIoSIePoq8pLO8LMDEp2RDt+PquvYF8H55wqIlUiOPCxofHWU74NejI3w7xJ+k0njASpUj1lYgkA3nW+Yr5DpuK+OoYd0p3M7Ve2tR9kKpvTxfIiDL1ZIoS7cDtYm9/9RzsZakqp7CI7Y3a5dDyl1JYKLN5DQBsJhkClMavde9o6EakREWspeLqarh98xtUbff1kqdZQNEIMY8KXpYOS2bjrjQjsfP3GbT+dm5Q=="},"trialPeriod":null,"trialPeriodUnit":null,"billingPeriod":1,"billingPeriodUnit":"Year","valid":true,"acknowledged":true,"renewalIntent":"Renew"} ///ON CANCELLED The RENEWAL INTENT becomes : Lapse ///////////PURCHASE CANCELLED IS CALLED WHEN THE USER CANCELS THE SUBSCRIPTION POPUP
Please note the plugin doesn’t return any expiry date
One thought on “Ionic Cordova In-App Purchase Plugin Events Data Dumps”