locked
How to test in-app purchase on production environment?

    Question

  • Does Anyone know how to test in-app purchase of Windows store app on production environment before publishing.
    CurrentAppSimulator worked collectly but is that guarantee operation after release exactly?
    Friday, August 29, 2014 3:12 AM

Answers

  • Hi toyb0x,

    May I know if you meet some problem while you implement the in-app purchase. Take a look at the documentation: Create a trial version of your app:

    Step 6: Replace the simulated License API methods with the actual API

    After you  test your app with the simulated license server, and before you submit your app to a Store for certification,  replace CurrentAppSimulator with  CurrentApp, as shown in the next code sample.

    Important  Your app must use the CurrentApp object  when you submit your app to a Store or it will fail certification.

    You have to ensure your app works fine with CurrentAppSimulator while debugging, and replace it with CurrentApp, this is the only way that you can implement the in-app purchase. If you have any question on implement this feature, feel free to let me know.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.


    Friday, August 29, 2014 10:00 AM
    Moderator