• Resolved sminozzi

    (@sminozzi)


    Hi,
    Nice plugin.
    After the last update (around 2 weeks) I’m unable to get the information with API. I got JSON error 4. It is not limited to just one payment.
    It is odd because if I put the string in some online site to test it works. I use PHP 7.3.
    Do you have, please, some suggestions on how debug this? I ran some searches but was unable to find the solution.
    Thanks in advance.
    Cheers,
    Bill

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @sminozzi

    Can you please provide me more details which API are you using and getting the error? so I can take a look into it and try to understand it.

    Thread Starter sminozzi

    (@sminozzi)

    Hey Pratik,

    Here is:
    http://mysite.net/edd-api/sales/?key=xxx

    Cheers,
    Bill

    Hi @sminozzi

    Thanks for your response. I will take a look at sales API from my side and update you about it.

    Thread Starter sminozzi

    (@sminozzi)

    Hey Pratik,

    Thanks.
    I found some javascript code coming from rest api. I’m able to make it working removing this code but I didn’t find for while how and why this code show up.
    Here is the javascript:
    document.cookie = “billjavascript=true”
    I didn’t find any php append in my htaccess file.

    Cheers,
    Bill

    Hi @sminozzi

    Thanks for your patience. I have tried the /edd-api/sales/ on my local and it is working perfectly without any JSON issue.

    It looks like that there is something at your end. Please check by deactivating other plugins or try to switch your theme to default WordPress theme.

    Before this please take a backup of database. Just for safe site šŸ™‚

    Thread Starter sminozzi

    (@sminozzi)

    Hey Pratik,

    THANKS A LOT!
    5 Star.

    Cheers,
    Bill

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Malformed Json’ is closed to new replies.