Payment error

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

Moderator: NADEO

Post Reply
zocka
Posts: 205
Joined: 15 Jun 2010, 17:56

Payment error

Post by zocka »

I try to Payments::pay() a transaction like this (for testing purposes for now):

Code: Select all

object(Maniaplanet\WebServices\Transaction)[21]
  public 'id' => null
  public 'creatorLogin' => string 'nextml' (length=6)
  public 'creatorPassword' => string '********' (length=8)
  public 'creatorSecurityKey' => string '*****' (length=5)
  public 'fromLogin' => string 'nextml' (length=6)
  public 'toLogin' => string 'zocka' (length=5)
  public 'message' => string 'test' (length=5)
  public 'cost' => int 10
- creatorLogin is a dedicated server account I created for this purpose
- creatorPassword contains a randomly generated password I pasted into the form on account creation an then my config file, so I assume it is correct.
- creatorSecurityKey is the 5 letter key which I use to register manialinks
- the API credentials are correct as I could get data from another endpoint without problems

I sent some planets to the nextml account, which I could confirm on the playerpage.

However every transaction I tried so far just returns an 'Internal Server Error' and I don't know what I am doing wrong.
Strangely I noticed that the dedi account is short by 41 planets given that I am not aware of any transaction that worked aka. didn't return 500. (It might be that these are transaction costs, but even granting cache expration time of several days the amount on the player page didn't change lately).

If anyone could help with further suggestions or a look into some log files (my last try was around 2016-04-03 12:10 CEST) I would be really grateful.
manialink minigame shatter
my manialink: zockaml
my maniaflash: maniaflash?zocka
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: Payment error

Post by The_Big_Boo »

"Internal Server Error", or HTTP code 500, means the remote server has an issue. Your calls may be perfectly correct (and the transactions may have actually worked), but the API won't tell you anything as long as the bug on its side isn't fixed.
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