Forum PayVault Basic PayVault Setup

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

Basic PayVault Setup

Postby avarga » February 14th, 2013, 1:06 am

I'm trying to set up a very simple payment feature in my game. I'm not concerned with setting up a currency for my game, I just want to give the user the ability to pay $1 via PayPal (I'd like to give them a choice for how much to pay but that doesn't appear to be possible.) What I've done:

:arrow: I set up a business account with PayPal.
:arrow: In playerio.com > admin panel > my game > PayVault > Configure PayVault, I checked "Enable PayVault for PayPal" and entered the same email I gave PayPal.

Now what? Is there more to do with PayPal? Do I use getBuyDirectInfo()? What is the 'items' parameter supposed to be an array of?
A basic outline of the code would be greatly appreciated.

Thanks,
avarga
avarga
 
Posts: 6
Joined: November 26th, 2012, 5:54 am

Re: Basic PayVault Setup

Postby Henrik » February 14th, 2013, 11:23 am

You need to set up a PayVaultItem, give it a USD price of $1, and then you can call getBuyDirectInfo() to pop up a payment page for the user.

Everything you need should be on these pages:

http://playerio.com/documentation/payvault/items
http://playerio.com/documentation/payva ... der/paypal
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to PayVault