Logo: Relish

  1. Sign in

Project: Nameking-jobs

Automatic Renewal

Scenarios
Domain is automatically renewed
Given
the auto-renewing domain "autorenew.com"
When
the expiration date is reached
Then
an auto-renew job should be created for "autorenew.com"
External account has insufficient funds to auto renew
Given
an auto-renew job exists for the following domain
name account account_balance renewal_price
overdrawn.com external 0 1
When
the jobs are run
Then
an insufficient funds email should be sent to the domain's account email
And
the status of the domain should be set to "expiry-hold"
External Account has sufficient funds to auto renew
Given
an auto-renew job exists for the following domain
name account account_balance renewal_price
available.com external 2 1
When
the jobs are run
Then
the domain should be automatically renewed
Internally owned domains are not checked for available balance
Given
auto-renew jobs exist for the following domains
name account account_balance renewal_price
internalavailable.com internal 2 1
internaloverdrawn.com internal 0 1
When
the jobs are run
Then
all of the auto-renew jobs should renew their domains
Auto-renewd domain is verified be the registry
Given
the auto-renewed domain "autorenew.com"
When
the registry confirms the auto-renewal
Then
the expiration date for "autorenew.com" is increased by the TLD expiration term
And
the domain's account is debited for the assigned renewal price

Last published about 5 years ago by Jack Bishop.