I'm currently working on a custom registrar module based on the template provided on GitHub. I'm having a problem with the domain sync not working as I would expect.
I would expect, based upon the function description
Quote
Domain syncing is intended to ensure domain status and expiry date changes made directly at the domain registrar are synced to WHMCS.
That if this array returns true for either expired or transferred, the domain status would be updated accordingly. The expiry date update is working properly.
Is there something different I need to be doing to get the status to be updated?
Edit: I did notice after posting that that I'd written 'transferred' rather than 'transferredAway', but given that I always return false for this value I hope that is irrelevant.
Question
steph.hope
I'm currently working on a custom registrar module based on the template provided on GitHub. I'm having a problem with the domain sync not working as I would expect.
As per the template, I'm returning an array:
$updated_info = array( 'expirydate' => $expiry_date, 'active' => $active, 'expired' => $expired, 'transferred' => false, );
For example, from logging the contents of this array for a domain which is no longer active:
[expirydate] =>
[active] =>
[expired] => 1
[transferred] =>
I would expect, based upon the function description
That if this array returns true for either expired or transferred, the domain status would be updated accordingly. The expiry date update is working properly.
Is there something different I need to be doing to get the status to be updated?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.