Forum PayVault Help

Discussion and help relating to the PlayerIO payment solution, PayVault.

Help

Postby 12345hassan » December 25th, 2017, 10:27 am

this.cclient.payVault.buy("powerboost");
i got error in flash as im not using c# for my game it works all fine expect this.
the error i get :
ArgumentError: Error #1063: Argument count mismatch on bridge::PayVault/buy(). Expected 2, got 1.
at game_fla::game/testug_cl()
12345hassan
 
Posts: 44
Joined: August 5th, 2016, 11:40 am

Re: Help

Postby Henrik » January 1st, 2018, 8:32 pm

https://playerio.com/documentation/refe ... yvault#buy

Buy takes at least two arguments, an array of items, and a boolean. There's example code on how to use it here:

https://playerio.com/documentation/serv ... ault/items
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to PayVault



cron