HOWTOs

From AWBS Wiki
Revision as of 15:23, May 18, 2008 by Samdrams (Talk | contribs)

Jump to: navigation, search

Send PDF attached invoices with the invoice notice email

1. Enable PDF invoices in the Extended System Configuration page of the AWBS Configuration area. Set 'allowpdf' to a value of 1 and save

This will enable pdf viewable invoices both in the admin area invoice manager and the member area invoice area.

2. To get the invoices attached with the invoice notice email, this will only work if you are set to use SMTP mail in AWBS. Configure SMTP mail on the System Options page of the AWBS Configuration. Note: test SMTP mail once configured by using the AWBS mailer and sending a test email to a test account where you can receive the email.

3. Create the directory /includes/pdf/temp with writable permissions.


4.Edit the New Invoice template and add this line after all other content:

<<<<<ATTACH:%%INVOICEID%%>>>>>

Merging user accounts

(coming)

Domain Registration Process

Once a customer has ordered a domain name on your AWBS site, a new order will appear in your job queue.

If you have configured 'Process all new domain orders immediately' to True in the system options, the order will be in the open area of the queue and process the next time the master_cron.php runs. No further action is required by you in this case, the job will run; registering the domain at the registrar, setting the domain record to a status of closed in the domain manager, emailing the client and a copy to the admin copy-to email, and set the queue job to closed.

If you have configured 'Process all new domain orders immediately' to False, the new order will be in the pending queue.

This means it requires your approval before it will process. Click the approve link if you wish to approve the order, it will then be placed in the open queue for auto processing via the master_cron.php. If you wish to process immediately, click the run link.

If you offer hosting packages (AWBS Hosting Edition only) and a domain was ordered during the hosting signup process, the domain order will follow the hosting settings. In this case if you have set Process all new hosting packages immediately to True in the System Options page, the domain and hosting order will be in the open queue together and run with the master_cron.php.

If you have the Process all new hosting packages immediately set to False in the System Options, the domain and hosting order will both be placed in the pending queue for approval. In this case, you only need to approve the hosting job. Once that is auto run from the open queue (after approval), the domain order will be processed without further action by you.

Note: Only jobs with paid invoices will process. Any orders that have unpaid invoices will remain in the queue until paid. If you wish to process an order prior to payment (not recommended!), click the edit link beside the job, check the box that says Bypass Invoice Check and save. Then click the run link beside the job.

Nameservers;

Domains are registered using nameservers in this priority;

Nameservers assigned to hosting server if ordered while ordering hosting.

Nameservers from user's domain profile.

Nameservers set in the registrar config area.

Errors

If any jobs fail, they will then be placed in the error queue. Click the edit link beside the domain and look in the 'return' field to see what the error was that was returned from the registrar. If nothing is there, check your curl (curl test in AWBS utilities page) and your registrar connection if your registrar has a connection test.


Deleting Domains from the registry

Occasionally, due to a fraudulent order, you need to ask your registrar to remove a domain and refund your money. If you use eNom or registerfly, you can do this:

Reopen the original registration queue job and change it to type Delete Domain. Run the job. This will place a request to delete the domain from your reseller account and refund your cost. Your reseller account will be charged a fee by your registrar, please check the registrar for fee amounts and limits on how soon after registration you need to place this request. Usually there is a 3 day limit.