Payment error
Posted: 03 Apr 2016, 12:12
I try to Payments::pay() a transaction like this (for testing purposes for now):
- 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.
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
- 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.