Displaying Runtime errors using native.showAlert?

I was able to get my error resolved, however the store stuff I think has to do with Apple.  Over the past few days their IAP testing server has been down or something strange has been going on.  Purchases take FOREVER, and so I think that some old store responses were finally coming back after a very long time.

Thanks for the response.

https://devforums.apple.com/message/852864#852864

Apple’s IAP sandbox is notoriously slow.  The prompt to login seems to be a sandbox side effect.

That must be whats going on.  Rob, I am now attempting to test Android IAP, and am having issues with getting any response on my transaction listener.

When I call store.purchase, google play pops up a message with the title of my IAP item and its price, whether I cancel or purchase the item, the window closes and I get no response to my transaction listener, thus my app is stuck in limbo.

Any idea why this would be happening?  I am using the same listener code for both IOS and Android, I assume it works for both platforms?

 I am using the following code: 

local function storeTransaction( event ) local transaction = event.transaction if ( transaction.state == "purchased" ) then --handle a successful transaction here print( "productIdentifier", transaction.productIdentifier ) print( "receipt:", transaction.receipt ) print( "signature:", transaction.signature ) print( "transactionIdentifier", transaction.identifier ) print( "date", transaction.date ) elseif ( transaction.state == "cancelled" ) then --handle a cancelled transaction here elseif ( transaction.state == "failed" ) then --handle a failed transaction here end --tell the store that the transaction is complete! --if you're providing downloadable content, do not call this until the download has completed store.finishTransaction( event.transaction ) end

@Rob, here is another user exeriencing the same issue.

http://forums.coronalabs.com/topic/36129-in-app-purchase-pop-up-wont-close/

Are there any errors in your device’s console log?

No errors are shown in the console log.  I just tested it using the “android.test.purchased”, and I get no responses if I try canceling it by using the hardware back button, and no response if I successfully purchase.  

Lets put responses on this thread so this dicussion is in only one place: http://forums.coronalabs.com/topic/36440-android-in-app-purchase-is-delivering-no-feedback-to-app/#entry192140