Payments/Transaction: Why Account Password & ValidationKey?

Maniaplanet public API, ManiaConnect system and the open source PHP SDK.

Moderator: NADEO

Post Reply
User avatar
m4rcel
Posts: 650
Joined: 15 Jun 2010, 11:12
Contact:

Payments/Transaction: Why Account Password & ValidationKey?

Post by m4rcel »

I have a question to the Payments and their Transactions:
According to this thread, I have to specify my account password and my validation key to be able to create a Transaction.

May question is: Why?

I already have to specify the username and password of the API user of MPWS in the Payments class. Why do I additionally need to set my account password and validation key in the Transaction object? Is it not enough to already know my account from the MPWS credentials?
ImageImage
Image
User avatar
m4rcel
Posts: 650
Joined: 15 Jun 2010, 11:12
Contact:

Re: Payments/Transaction: Why Account Password & ValidationK

Post by m4rcel »

Is this question so hard to answer or why do I not get any response? :D
ImageImage
Image
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Payments/Transaction: Why Account Password & ValidationK

Post by The_Big_Boo »

Oops, I started to write an answer a week ago but forgot to finish it :oops: So here is a quick one.

Transactions are done by calling scripts on the master server which need the login, the password and the validation key (as before your first ingame payment) of the payer account. On the contrary, for retrieving data, we're just querying a database replicate on which we can just make select statements.

So transactions are way more critical than other services we're exposing and therefore need this second security layer ;)
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
Post Reply

Return to “Maniaplanet Web Services”

Who is online

Users browsing this forum: No registered users and 1 guest