InApp purchase for window phone 8 in cocos2dx

i think the update messedup vs2012… i am in the process of reinstalling vs2012 etc… will post once it is done…

ok… works finally :)… uninstalled and resintalled vs2012, wp8sdk and adsdk… works fine…thanks for the help… the mainpage.xaml works fine now and there is no error…

Wow, it’s really has releationship with the environment… good.

ya seems like it… well also the update stalled inbetween and I cancelled it and that made everything incompatible… so i guess it is better to work with an unupdated version version of v2012…

Guys, do you all got the last tutorial about how to link code from c# to c++ from the C2D guys themselves???

That is the answer I was using it…
Unfortunately I can’t share the code due company rules :frowning:

@pekayatt: Cmon you are the CEO … you make the rules… :stuck_out_tongue:

Anyway… ya got the ad integration to work… with a bit of effort…


here is sample InApp purchase for wp8

thx :slight_smile:

Is this for 2.2.3 or 3.0???

I use for 2.2.3 but it can use for 3.0

Hi,
how do we integrate azure leaderboard for wp8 cocos2dx 2.2.3
thanks

Hi @siddharthshekar
I want to know how you integrate ads in wp8.
Plz share something in details.

You have to follow the tutorial from chenjc … it works on 2.2.3.

@siddharthshekar

Thnx, i will try that.

Hi, anybody tried to rate and review function in wp8+xaml game.
If anybody did it plz help me to do that.
Thanx in advance.

Yes !
MarketplaceReviewTask task = new MarketplaceReviewTask();
task.Show()
This will navigate the app to market review page.
Thanks

@chenjc

I am testing the IAP branch in https://github.com/koowolf/cocos2d-x/tree/IAP/cocos2dx/platform

I tried downloading and running it and I get an error. So I created a ne project in 2.2.3 and included the mockIAP.dll and project file.

It crashes right right b4 MockIAP.CheckIfInitialized() in CurrentApp.LoadListingInformationAsync(); Where do I init MockIAP???

I am not sure why this problem is arising… pls help

‘TaskHost.exe’ (Win32): Loaded ‘\Device\HarddiskVolume27\Windows\System32\System.Runtime.WindowsRuntime.ni.dll’.
‘TaskHost.exe’ (Win32): Loaded ‘\Device\HarddiskVolume27\Windows\System32\winmetadata\Windows.ni.winmd’.
First-chance exception at 0x77E31247 (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x80131500, 0x00000000, 0x00000000, 0x00000000, 0x70AF0000).
First-chance exception at 0x77E31247 (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x80131500, 0x00000000, 0x00000000, 0x00000000, 0x70AF0000).
First-chance exception at 0x77E31247 (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x80131500, 0x00000000, 0x00000000, 0x00000000, 0x70AF0000).
First-chance exception at 0x77E31247 (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x80131500, 0x00000000, 0x00000000, 0x00000000, 0x70AF0000).
‘TaskHost.exe’ (Win32): Loaded ‘\Device\HarddiskVolume27\Windows\System32\EN-US\mscorlib.debug.resources.dll’. Module was built without symbols.
First-chance exception at 0x77E31247 (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x80131604, 0x00000000, 0x00000000, 0x00000000, 0x70AF0000).
First-chance exception at 0x77E31247 (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x80131604, 0x00000000, 0x00000000, 0x00000000, 0x70AF0000).
Unhandled exception at 0x77E31247 (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x80131604, 0x00000000, 0x00000000, 0x00000000, 0x70AF0000).

Got it :slight_smile:

But unlike the original moocIAP I can’t clear purchases???

edit:: got clear to work also… had to change from portrait to landscape and it shows… (y).

If I change the product type to consumable… and if after purchasing it once I am not able to purchase it again!!!.. why so???

When will the wp8 version count in the main development trunk? :frowning:

I think 2.2.3 is the last version for 2.2.x … if they are working on 2.2.4 would really like plugin-x for wp8 also included… makes life so much easier… :slight_smile:

Hello. How do I connect to the project Windows Phone 8.1 microsoft store IAP’s ? I use cocos 3.6. The project with no C# or XAML folders, only proj.win8.1-universal. My game compiling and working fine, but i have add shop and ADS in my game.