# before_domaintransfer

Domain is about to be transfered into HostBill.

TIP

Throw exception in your hook to block it for some reason

# Hook parameter

An array holding domain details from hb_domains table

Key Type Description
id int Related domain ID in HostBill
client_id int Client ID
order_id int Order ID
tld_id int TLD ID
name string Domain name
server_id int Server ID
reg_module int Module ID
payment_module int Payment module ID
date_created string Date created
firstpayment float Amount of first payment
recurring_amount float Recurring amount
period int Period in years
expires string Domain expiration date
type string Possible values ('Register', 'Transfer', 'Renew')
status string Domain order status (for example 'Pending', 'Fraud')
next_due string
next_invoice string
idprotection int
nameservers string
autorenew int
reglock int
manual int
premium int
epp_code string EPP code
notes string Notes
extended string
synch_date string
nsips string
failed_syncs int

# Sample hook files

Last Updated: 3/17/2023, 8:40:19 AM