GET
Authorization: Bearer ya29.1.AADtN_XC_94199gG08FtqH95yr_VKeYUYOvCJRJjnBgvZaN-yIpGPJPb-SqrVok
RESPONSE
{
Problem is solved! Server products verifying not works with IABv2, use instead IABv3 in your applications! It gives you other, long purchase token, that accept by Google API.
--
You received this message because you are subscribed to the Google Groups "Google APIs Explorer Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apis-explorer-users+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google APIs Explorer Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apis-explore...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apis-explorer-users+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apis-explore...@googlegroups.com.
I said "normal" because AndroidPublisher.Inapppurchases.Get is only for purchase, not for subscription.SubscriptionGet give only the last subscription date, you should save the date of the first subscription if you need it.
Le Tue Jan 20 2015 at 14:57:05, Irina Dinarieva <irina.d...@gmail.com> a écrit :
What do you mean by "normal"? My purchase is an AutoRenewing subscription. After execution subscriptionGet returns me two dates InitiationTimestampMsec and ValidUntilTimestampMsec. But it seems that InitiationTimestampMsec is a starting time of just the current subscription. I mean that if user has first subscribed say six month ago and then subscription has renewed some times then I will have date of only last one subscription. So I hoped to use AndroidPublisher.Inapppurchases.Get and that it would give me that first date six month ago. Is it not possible at all? Are you saying that only one of these two methods should work?
вторник, 20 января 2015 г., 16:11:00 UTC+3 пользователь jason toulotte написал:"For subscriptionGet execute passes and for productGet execute fails. I use Java API but result I get is exactly as people describe in this topic." => if your purchase is a subscription i think this is normalLe Tue Jan 20 2015 at 13:57:16, Irina Dinarieva <irina.d...@gmail.com> a écrit :
Here is example of my data (I just have changed package name a little).
Data for AndroidPublisher.Purchases.Get subscriptionGet = purchases.get(googlePackageName, subscriptionId, purchaseToken); is :
{packageName=net.mediaspectrum.replica, subscriptionId=m1b, token=nibjlnlmehbhoaeajdnjjfdh.AO-J1OxV7SkEJJJX34PAUVEoBwYeERf8vxuv36iylKgFTvX0_5qZboBWDkE2w3MLU9AXo0w5HtxzTXW_IjOLJRMVtv6QxLydcPLxwAK1iVxsBbRJzSGy38zAsy6nRCFbidw44ZXp_r9b}
Data for AndroidPublisher.Inapppurchases.Get productGet = inapppurchases.get(googlePackageName, purchaseId, purchaseToken); is :
{packageName=net.mediaspectrum.replica, productId=m1b, token=nibjlnlmehbhoaeajdnjjfdh.AO-J1OxV7SkEJJJX34PAUVEoBwYeERf8vxuv36iylKgFTvX0_5qZboBWDkE2w3MLU9AXo0w5HtxzTXW_IjOLJRMVtv6QxLydcPLxwAK1iVxsBbRJzSGy38zAsy6nRCFbidw44ZXp_r9b}
For subscriptionGet execute passes and for productGet execute fails. I use Java API but result I get is exactly as people describe in this topic.
понедельник, 19 января 2015 г., 16:31:44 UTC+3 пользователь jason toulotte написал:
what format is your purchase token ? The purchase token and purchaseID are similar--Le Mon Jan 19 2015 at 12:37:12, Irina Dinarieva <irina.d...@gmail.com> a écrit :
You received this message because you are subscribed to the Google Groups "Google APIs Explorer Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apis-explorer-users+unsubsc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I said "normal" because AndroidPublisher.Inapppurchases.Get is only for purchase, not for subscription.SubscriptionGet give only the last subscription date, you should save the date of the first subscription if you need it.
Le Tue Jan 20 2015 at 14:57:05, Irina Dinarieva <irina.d...@gmail.com> a écrit :
What do you mean by "normal"? My purchase is an AutoRenewing subscription. After execution subscriptionGet returns me two dates InitiationTimestampMsec and ValidUntilTimestampMsec. But it seems that InitiationTimestampMsec is a starting time of just the current subscription. I mean that if user has first subscribed say six month ago and then subscription has renewed some times then I will have date of only last one subscription. So I hoped to use AndroidPublisher.Inapppurchases.Get and that it would give me that first date six month ago. Is it not possible at all? Are you saying that only one of these two methods should work?
вторник, 20 января 2015 г., 16:11:00 UTC+3 пользователь jason toulotte написал:"For subscriptionGet execute passes and for productGet execute fails. I use Java API but result I get is exactly as people describe in this topic." => if your purchase is a subscription i think this is normalLe Tue Jan 20 2015 at 13:57:16, Irina Dinarieva <irina.d...@gmail.com> a écrit :
Here is example of my data (I just have changed package name a little).
Data for AndroidPublisher.Purchases.Get subscriptionGet = purchases.get(googlePackageName, subscriptionId, purchaseToken); is :
{packageName=net.mediaspectrum.replica, subscriptionId=m1b, token=nibjlnlmehbhoaeajdnjjfdh.AO-J1OxV7SkEJJJX34PAUVEoBwYeERf8vxuv36iylKgFTvX0_5qZboBWDkE2w3MLU9AXo0w5HtxzTXW_IjOLJRMVtv6QxLydcPLxwAK1iVxsBbRJzSGy38zAsy6nRCFbidw44ZXp_r9b}
Data for AndroidPublisher.Inapppurchases.Get productGet = inapppurchases.get(googlePackageName, purchaseId, purchaseToken); is :
{packageName=net.mediaspectrum.replica, productId=m1b, token=nibjlnlmehbhoaeajdnjjfdh.AO-J1OxV7SkEJJJX34PAUVEoBwYeERf8vxuv36iylKgFTvX0_5qZboBWDkE2w3MLU9AXo0w5HtxzTXW_IjOLJRMVtv6QxLydcPLxwAK1iVxsBbRJzSGy38zAsy6nRCFbidw44ZXp_r9b}
For subscriptionGet execute passes and for productGet execute fails. I use Java API but result I get is exactly as people describe in this topic.
понедельник, 19 января 2015 г., 16:31:44 UTC+3 пользователь jason toulotte написал:
what format is your purchase token ? The purchase token and purchaseID are similar--Le Mon Jan 19 2015 at 12:37:12, Irina Dinarieva <irina.d...@gmail.com> a écrit :
You received this message because you are subscribed to the Google Groups "Google APIs Explorer Users Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apis-explorer-users+unsubsc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.