Seeing the same problem here, but believe its part of a much bigger session related problem since the security patch. Have reported yesterday but no reply yet.
Is anyone else having issues with the integration code (specially the tokens) and sessions in general since the patch?
Details are on #SJE-619255 if anyone from WHMCS is around.
Thanks