Forum PayVault how to use PayVault.Give

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

how to use PayVault.Give

Postby Hindu Bro » April 10th, 2017, 8:18 pm

When i try to use PayVault.Give function there is "BuyItemInfo[]items" how to i give that player an item for ex "giftitem"
Hindu Bro
 
Posts: 2
Joined: September 17th, 2015, 7:40 am

Re: how to use PayVault.Give

Postby Henrik » April 12th, 2017, 1:41 am

https://playerio.com/documentation/refe ... uyiteminfo

Something like this:

Code: Select all
client.PayVault.Buy(true, new BuyItemInfo[]{
    new BuyItemInfo("giftitem")
}, delegate() {
    //Success, vault updated
}, delegate(PlayerIOError error) {
    //Error
});
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: how to use PayVault.Give

Postby sukamin89 » April 23rd, 2022, 4:26 am

Your article content is getting a lot of attention, I'm very impressed with your post. I hope to receive many more good articles. nytimes crossword
sukamin89
 
Posts: 5
Joined: April 23rd, 2022, 4:03 am


Return to PayVault