Releases: Waqasahmedwaseer/Whmcs-Spaceship-Registrar
Releases · Waqasahmedwaseer/Whmcs-Spaceship-Registrar
v1.2.0 — Nameserver Fix, TLD Pricing Import & GetDomainInformation
What's Changed in v1.2.0
✨ New Features
- GetDomainInformation — Implemented the WHMCS-recommended consolidated domain info function (WHMCS 7.6+). This replaces individual
GetNameserversandGetRegistrarLockcalls with a single API call, ensuring nameservers, expiry date, transfer lock, ID protection, and registration status are all correctly populated in the WHMCS admin area. - TLD Pricing Import & Sync — Implemented
GetTldPricingfunction for the WHMCS Registrar TLD & Pricing Sync Utility. Supports 33+ popular TLDs (gTLDs and ccTLDs) with registration, renewal, and transfer pricing in USD.
🐛 Bug Fixes
- Nameserver Display Fixed — Nameservers now correctly appear in the WHMCS admin client profile. The Spaceship API returns the
nameserverskey in lowercase, but the module was checking for camelCasenameServers. - TLD Pricing Error Resolved — Fixed "Invalid GetTldPricing Response from Module" error on the WHMCS TLD Sync/Import page. The previous implementation returned an empty array instead of the required
ResultsListobject. - Privacy Level Values — Corrected privacy level values from
offtopublicin registration and transfer functions, per Spaceship API specification. - Domain Renewal — Fixed renewal requests by fetching
currentExpirationDatefrom the API before making renewal calls. - Transfer Sync — Added handling for
cancelledtransfer status.
🔧 Improvements
- SRV Record Handling — Enhanced DNS management for SRV records in both
GetDNSandSaveDNSfunctions. - Contact Data Formatting — Improved phone number formatting, field length truncation, and optional field handling.
📦 Installation
- Download
spaceship-whmcs-registrar-v1.2.0.zipbelow - Extract to
/path/to/whmcs/modules/ - Activate in WHMCS Admin → System Settings → Domain Registrars
See CHANGELOG.md for full version history.