It does not make sense which is why I am confused lol
here is a small test capx.
Export the capx to windows 8.1 universal.
Setup the test cert in visual studio.
Hit debug on local machine
you should get an error right away something like
SCRIPT5: Unhandled exception at line 4, column 205 in ms-appx://*****/Amazon-Web-App-API-tester.min.js
0x800c0005 - JavaScript runtime error: The system cannot locate the resource specified.
File: Amazon-Web-App-API-tester.min.js, Line: 4, Column: 205
Now, if you have both IAP and windows 8 set to test mode, you get an error due to 2 message windows trying to open
aka this line in the code
this.currentApp = (this.isTestMode ? winStore["CurrentAppSimulator"] : winStore["CurrentApp"]);
if (this.isTestMode)
{
//new Windows["UI"]["Popups"]["MessageDialog"]("Note: this Windows 8 app is in Test Mode, designed for testing purchases. Before publishing, be sure to set Test Mode to 'No' in the Windows 8 object's properties.")["showAsync"]();
}
You can see the error by take the file in visual studio, "amazon-web-app-API-tester.min.js" and removing it from shared and adding it to windows 8.1 phone.