No problem.Hello! and thank you so much vesterhof <3 i was able to fix it! you was right
Correctly linked to your PayPal, or whatever you're using?You must be registered for see images attach
ATOMCMS SHOP, when i click "donate" to add money in there it comes up "Something went wrong" does anybody know how to fix this?
I believe it'll be in one of your database tables, have a look through carefullyHey im trying to find out where the wrong thing is.... but cant seem to find it
Post automatically merged:
not sure where i put in client id and secret key
You must be registered for see images attach
do i have to put in something in the habbo.php or
it works on my 1st domain, but not on the new vps with new domain
do i have to make a new busieness account since i already used the one i have on another vps & Domain? cuz i am able to see the button "donate" but when i click it it says something went wrong and it wont redirect you to the paypal checkout
Yes you do. But it's the last time I'm gonna say this: you need to be identification and bank approved at PayPal.i have the right settings for the client ids and stuff
Maybe if you said your account has been approved the first time I told you lol. Can't smell what you use for your other domain/vps/whatever. Maybe it doesn't require the approvals. But Atom does.So then tell me, why is it working with the same paypal busieness account on my other domain? it has been id and bank approved....
Hello Vesterhof, in which file exactly is one supposed to make those changes?The error you're encountering is due to malformed JSON data being sent to the server, causing the server to throw an exception during the parsing process. To fix this issue, follow these steps:
First, inspect the JSON structure being sent in the RCON message. The error message suggests that two JSON objects are being concatenated together without proper separation. For example, the message {"key":"setrank","data":{"user_id":9,"rank":4}}{"key":"disconnect","data":{"user_id":9,"username":"Lilje"}} contains two JSON objects placed side by side, which is incorrect.
Next, correct the data sending logic. Ensure that each JSON object is either sent separately as individual RCON messages or combined into a properly formatted JSON array. For instance, instead of concatenating the JSON objects, you can format them like this:
json
{"key":"setrank","data":{"user_id":9,"rank":4}},
{"key":"disconnect","data":{"user_id":9,"username":"Lilje"}}
This structure would ensure that the JSON is well-formed and can be correctly parsed by the server.
After adjusting the JSON formatting, update the RCON message handling if necessary. Ensure that your server-side code is capable of processing either individual JSON objects or a JSON array, depending on how you choose to send the data.
Finally, thoroughly test the VIP purchase process to confirm that users receive their badge, diamonds, and rank as expected. This will verify that the changes have resolved the issue and that the system is functioning correctly.
DM me if this doesnt help.