Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Asitha

    (@asitha)

    Hi there,

    Please download the latest version and let me know if the issue persists.

    Thread Starter ManishM

    (@manishm)

    Hi Asitha,

    Thanks for new version, CID and Token are getting saved but showing “invalid CID or Token” and thus the shortcodes are not working. I hope that is not plugin issue, I will recheck with classy support and let you know if it works or not.

    Thanks for your help.

    Thread Starter ManishM

    (@manishm)

    Hi Asitha,

    Sorry but the issue is on the plugin side, I confirmed with them and they sent me same CID and Token details, I passed them with the plugin link and they said there might be issues with code.

    Let me know if I need to check anything with the code. Thanks for your help on this.

    Plugin Author Asitha

    (@asitha)

    Hi Manish,

    I just created another staging site and installed the plugin with the Token and CID I have on hand and it worked fine.

    Could you send me your CID and Token to [email protected] so I can test it out to try and replicate the issue?

    Plugin Author Asitha

    (@asitha)

    If you could navigate to this URL: https://www.classy.org/api1/account-info?token=YOURTOKEN&cid=YOURCID and let me know if you get any errors, that might give us a better idea on what your issue could be.

    I.e; https://www.classy.org/api1/account-info?token=fj28NNASD7529LPO&cid=12345

    If you see {“status_code”:”SUCCESS”}, then the issue would be with our plugin however if it has what looks to be an error, then the issue more than likely is on Classy’s side as this is their API we’re using.

    Thread Starter ManishM

    (@manishm)

    Hi Asitha,

    I see {“status_code”:SUCCESS,”id”:same as cid,”name”} & so on, think the issue is on plugin side. I thought that could be SSL issue as my site doesn’t have SSL, but I checked with Classy, they mentioned API’s works without SSL. let me know if you find something that could help.

    Thanks.

    Plugin Author Asitha

    (@asitha)

    Hi Manish,

    Who is your site hosted with? Is it possible that your server has cURL disabled?

    To check if cURL is enabled, please try the following:
    https://stackoverflow.com/questions/13433946/how-to-check-if-curl-is-enabled-or-disabled

    Plugin Author Asitha

    (@asitha)

    Also, could you turn on WP_DEBUG to see if you get any errors while saving.

    https://codex.www.ads-software.com/Debugging_in_WordPress

    Thread Starter ManishM

    (@manishm)

    Hi Asitha,

    I will check these things and let you know what I can get.

    Thread Starter ManishM

    (@manishm)

    Hi Asitha,

    I checked with both things, Curl is enabled and I have WP_DEBUG as true, Still no errors while saving, just Invalid Token or CID.

    One Thing I would want to know, does classy API’s check for the organization domain? I am testing the plugin on dev site who’s domain name differs from actual.

    Plugin Author Asitha

    (@asitha)

    Not that I’m aware of. Are you a Pro client on Classy? One of the requirements of using the Classy API is being a Pro client.

    The only other thing I can think of would be that json is not installed depending on your version of PHP.

    https://stackoverflow.com/questions/7318191/enable-json-encode-in-php

    Thread Starter ManishM

    (@manishm)

    Yes, I am using the Pro Account from Classy. I will check with PHP version and see if json is installed properly or not.

    Plugin Author Asitha

    (@asitha)

    Marking this as resolved since Manish messaged me saying it works now.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Can't save the Token and CID’ is closed to new replies.