WooMinecraft / woominecraft-wp

A FREE Minecraft Donation Plugin for WordPress designed to work in conjunction with WooMinecraft for Bukkit/Spigot & WooCommerce to allow the purchasing of virtual items in MineCraft and have them delivered to the servers.
https://wordpress.org/plugins/woominecraft/
GNU General Public License v2.0
31 stars 14 forks source link

Wordpress is not sending JSON #42

Closed lwaite9 closed 6 years ago

lwaite9 commented 7 years ago

I have a test item in my woocommerce side, but when attempting to "purchase" the item for $0.00, the system automatically sets the status to "processing," as expected. However, after manually setting the status to "completed," well. Pictures are likely the best way to show this. image 28398355-dfe763dc-6cd4-11e7-8ef3-7d97f9b4faf6 image image

I am using a key, and it is working, because my server log shows this: >woo check [22:50:27 INFO]: [WooMinecraft] Sending Request [22:50:27 INFO]: [WooMinecraft] URL Config Field: http://theshardmc.us [22:50:27 INFO]: [WooMinecraft] Headers: [Date: Thu, 20 Jul 2017 02:50:26 GMT, Server: Apache, X-Powered-By: PHP/5.5.38, Connection: close, Transfer-Encoding: chunked, Content-Type: application/json; charset=UTF-8] [22:50:27 INFO]: [WooMinecraft] HTTP Response Code: 200 [22:50:27 INFO]: [WooMinecraft] Content Body Snippet (128 chars): {"success":true,"data":[]} [22:50:27 INFO]: [WooMinecraft] Data check was not an instance of JSONObject, so bailing.

So it's connecting and getting an empty response, and if I go to manually send the donation, it just says "deleted()" for the server list...

I'm not really sure what's gone wrong. Please help!

JayWood commented 6 years ago

Deleted means the key was changed at some point. Or you saved an empty key then added new ones. This is expected behavior, closing.