Windows8 object - Question

Discussion and feedback on Construct 2

Post » Mon Aug 11, 2014 1:46 pm

Hi fellow constructors,

Just a question regarding the Windows8 object:
    according to the manual:
    On successful purchase - fires after a successful purchase of the App or a Product (in-app purchase)
    On failed purchase - fires after cancelling a purchase (or failed attempt) of the App or a Product
Question - Do these triggers work only when the app is actually published to the Windows Store or should they also work in test mode?

Thanks in advance...
If it can be done, someone on the web will show you how to do it!

CDASI Games Mentality Break Splat-a-bug FlapFleet Challenge
B
34
S
12
G
7
Posts: 356
Reputation: 7,144

Post » Mon Aug 11, 2014 6:50 pm

They work in test mode (using Visual Studio).

When you call a purchase using Visual Studio in Debug mode, a pop up appears asking what you want to do. Here you can mock purchases, purchase fails, purchase cancels, and a couple other goodies.

If you run the app in production mode, pressing purchase brings up a menu saying the app cannot be found.
B
41
S
17
G
8
Posts: 484
Reputation: 8,261

Post » Mon Aug 11, 2014 11:08 pm

@humanescape thanks for reply,

Yeah that's what I thought.

I have a situation were I want to display a Thanks for purchasing banner. But in the list of options there is no 'User Cancelled' option, and if you cancel using the dialog (click cancel button) On successful purchase fires.

Any ideas.....
If it can be done, someone on the web will show you how to do it!

CDASI Games Mentality Break Splat-a-bug FlapFleet Challenge
B
34
S
12
G
7
Posts: 356
Reputation: 7,144

Post » Tue Aug 12, 2014 2:10 am

it might be the way you have your events in construct set up
B
42
S
17
G
2
Posts: 850
Reputation: 6,209


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 10 guests