I've written up an in app purchase system, built on Windows.Services.Store
Now I wish to make sure my users get what they pay for. In the older API, I could simulate purchases.
How can I get each purchase to succeed without needing to feed it real money from my credit card/paypal each time?
I can't return to the older API.
How can I get each purchase to succeed without needing to feed it real money from my credit card/paypal each time?
In testing phase, the new API does not provide a class that you can use to simulate license info during testing. So, to simulate the purchase process, you need to buy the real product.
If you just need to get the product to ensure the correct feature or service could be unlocked after the add-on gets purchased, you could generate promotional code through Dev Center to get your product without feeding money:
Also, note this in that document:
In some cases the customer may see a Buy button instead of Install, even though the app was successfully redeemed via the promotional code. The customer can click Buy to install the app for no charge.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With