WooMinecraft/woominecraft-wp

Wordpress is not sending JSON

lwaite9 opened this issue · 1 comments

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!

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