Forum PayVault getBuyCoinsInfo ERROR - please help

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

getBuyCoinsInfo ERROR - please help

Postby yohami » June 14th, 2011, 9:47 pm

When I call:

client.payVault.getBuyCoinsInfo( "paypal", { coinamount:50, currency:"USD", item_name:"50 Coins"} )

I get this error:

TypeError: Error #1010: A term is undefined and has no properties.
at bridge.utils::Converter$/toKeyValueArray()
at bridge.generated::PayVault/_payVaultPaymentInfo()
at bridge::PayVault/getBuyCoinsInfo()

I have paypal enabled on my account, and this in the price coins: 100USD=50,500USD=300,1000USD=700

And this used to work when I coded it a few weeks ago... so maybe the error is happening on the serverside?

Oliver, Benjamin, any clue of thats this undefined term please?

Thanks,
Yohami
yohami
 
Posts: 22
Joined: February 28th, 2011, 12:03 pm

Re: getBuyCoinsInfo ERROR - please help

Postby yohami » June 14th, 2011, 9:49 pm

maybe I need to update my playerio api?
yohami
 
Posts: 22
Joined: February 28th, 2011, 12:03 pm

Re: getBuyCoinsInfo ERROR - please help

Postby yohami » June 15th, 2011, 12:06 am

nevermind - fixed.

I was also passing an "email" parameter to autofill the paypal url. It seems playerio didnt like it (it used to work though)
yohami
 
Posts: 22
Joined: February 28th, 2011, 12:03 pm

Re: getBuyCoinsInfo ERROR - please help

Postby Henrik » June 15th, 2011, 2:43 pm

Ok, so it works now that you updated the api? What happens if you add that email parameter back in again, does it stop working then?
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm


Return to PayVault