Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
iab Event.REQUEST_PURCHASE_COMPLETE doesn't return "productId" for a new product on iOS — Gideros Forum

iab Event.REQUEST_PURCHASE_COMPLETE doesn't return "productId" for a new product on iOS

totebototebo Member
edited February 2015 in Plugins
Hi guys,

Title says it all, really. :) I have five IAP that returns productId just fine. Here is what one of the items returns:
GiderosIAP:onPurchaseComplete()
	table
	[__target]	table
	[__target]	[__events]	table
	[__target]	[__events]	[userdata: 0x19bc2110]	function	function: 0x7f85f18
	[__target]	[__events]	[userdata: 0x19bc21e0]	function	function: 0x7f88410
	[__target]	[__userdata]	userdata	userdata: 0x8241904
	[__target]	[loaded]	boolean	true
	[__type]	string	purchaseComplete
	[__userdata]	userdata	userdata: 0x40d2b44
	[productId]	string	1005
	[receiptId]	string	1000000142107597
Today I added a new product and it returns this:
GiderosIAP:onPurchaseComplete()
	table
	[__target]	table
	[__target]	[__events]	table
	[__target]	[__events]	[userdata: 0x19dd0530]	function	function: 0x7de9690
	[__target]	[__events]	[userdata: 0x19dece10]	function	function: 0x3f1e2d8
	[__target]	[__userdata]	userdata	userdata: 0x8241904
	[__target]	[loaded]	boolean	true
	[__type]	string	purchaseComplete
	[__userdata]	userdata	userdata: 0x7f1fb74
	[receiptId]	string	1000000142107548
Could this have something to do with iTunes not having propagated yet? My guess is no, but maybe someone has come across this before.

Cheers,

Niclas
My Gideros games: www.totebo.com

Comments

  • Figured it out.

    Gotcha: When testing IAP with the Gideros Player the values are cached in between sessions. Restarting the Gideros Player on the device solved the issue. Maybe this helps someone else.

    Nic

    My Gideros games: www.totebo.com
Sign In or Register to comment.