This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
AcceptOrder()
Dan Dumont edited this page Jul 13, 2019
·
4 revisions
Accepts a pending order.
Input Parameters:
- int OrderId - The order id to be accepted.
- int ServerId = -1 - The specific server to assign to products within the order.
- string ServiceUsername = "" - The specific username to assign to products within the order.
- string ServicePassword = "" - The specific password to assign to products within the order.
- string Registrar = "" - The specific registrar to assign to domains within the order.
- bool SendRegistrar = true - Send the request to the registrar to register the domain.
- bool AutoSetup = true - Send the request to the product module to activate the service. This can override the product configuration.
- bool SendEmail = true - Send any automatic emails. This can be Product Welcome, Domain Renewal, Domain Transfer etc.
**Process: ** Will take the given information and accept the pending order.
Returns:
- (Version 0.1.1 - Version 0.1.2) Returns a string result of the operation, success or error.
- (Version 0.1.3+) Returns true if successful.
Possible Errors: Order ID not found or Status not Pending.
Has an Async function: As of Version 1.1.3, there will be AcceptOrderAsync()