using native showWebPopup & showAlert & IAP together

I am using the showWebPopup but I can’t seem to get the showAlert to function or the store.purchase to work in the listener. I’ve looked everywhere but there are no comments that mention these limitations.

Does anyone know of any limitations that might stop these scenarios from working.

I need the showAlert or some other function because using the javascript alert shows the name of the page in the alert header. If I could use the native alert then I could get around this clunkyness.

I currently have my iap’s as corona buttons but it would be much more practical to have it as a list in the web page. I could do this if I can get the store.purchase to work on the listener.

Thanks.
Here is the code that demonstrates what doesn’t seem to work for me.
local filePath = “index.html”
local options = { baseUrl=system.ResourceDirectory, urlRequest=listener}
native.showWebPopup(0, 0, 768, 970, filePath, options)

function listener( event )

– Show alert
local alert = native.showAlert( “Corona”, “Dream. Build. Ship.”,
{ “OK”, “Learn More” }, onComplete )
– My product
store.purchase( {“myproduct”} )

return true
end
[import]uid: 51622 topic_id: 11022 reply_id: 311022[/import]