Home > Aria6 User Documentation > Best Practices > Account Registration > Registering Parent-Child Accounts > Simultaneously Registering a Parent Account and a Child Account with Responsibility Level 2, 3, or 4 for a Paid Plan Using an Electronic Check

Simultaneously Registering a Parent Account and a Child Account with Responsibility Level 2, 3, or 4 for a Paid Plan Using an Electronic Check

This is the recommended process to follow to simultaneously register a parent account and a child account with responsibility level 2, 3, or 4 for a paid plan using an electronic check:

  1. Create a parent and one or more child accounts.
  2. Generate pending invoices for the parent and child accounts.
  3. Validate the parent account holder’s bank routing number.
  4. Approve the pending invoices.
  5. Collect the payment from the parent account holder.
  6. Send the statement to the parent account holder.

Note: Funds might not be available in the customer’s bank account when the collection transaction is settled.

Assumptions

The process described in the electronic check payment flow for simultaneously registering a parent account and a child account with responsibility level 2, 3, or 4 for a paid plan deals with:

  • Creating accounts with no orders.

Preconditions


Set up ACH with your Payment Processor

Inform your payment processor(s) that you are using electronic checks (ACH) as a payment method so that any necessary steps can be taken to allow your customers to pay for your services using electronic checks.

Select Aria6 Options

For customers to be able to pay for your services using electronic checks, you must do the following in Aria6:

  • Add Electronic Check (ACH) as a payment method.
  • Set the Accept ACH/Bank Draft option to True.

To automatically collect a payment from a customer after a pending invoice is approved, this option must be set to True in Aria6:

  • Auto Collect On Pending Invoice Approval.

In order to automatically send a statement to a customer after a pending invoice is approved, this option must be set to True in Aria6:

  • Auto Send Statement On Pending Invoice Approval.


Create your Direct‐Post Configuration Set

To create a Direct‐Post configuration set for simultaneously registering a parent account and a child account with responsibility level 2, 3, or 4 for a paid plan using an electronic check, define the following name‐value pairs in the set_reg_uss_config_params API call:

  1. Set the client_no field to your Aria‐assigned client number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the set_name field to the name of your configuration set. The name of your configuration set must begin with “direct_post_”.

For example, the configuration set for account registration used for paid plans when the billing date is the same as the account creation date could be named “direct_post_achpaidreg”.

  1. Set the redirecturl field in the <in_reg_uss_config_params> array to to the URL in your account registration application on which you display error or success messages. These messages are sent by Direct Post.

Setting this field causes Direct Post to trigger the update_ acct_ complete call to validate the bank routing number and set the payment method of the parent account to ACH.

Postconditions

At the end of the account registration process described in the electronic check payment flow for simultaneously registering a parent account and a child account with responsibility level 2, 3, or 4 for a paid plan:

  • A parent account and one or more new child accounts exists.
  • If you enabled the option in the AdminTools application to automatically send a statement after a pending invoice is approved, the parent account holder receives a statement.

Process Flow Diagram

The diagram below illustrates the recommended process for simultaneously registering a parent account and a child account with responsibility level 2, 3, or 4 for a paid plan using an electronic check:

parent-child-flow6.png

Notes:

  • Call the create_acct_complete, gen_invoice, get_invoice_details, and manage_pending_invoice API methods again for each additional child account that the customer added.
  • The light grey boxes indicate functions automatically triggered by Direct Post based on your configuration set.
  • The dark grey boxes indicate functions automatically performed by Aria.
  • If the customer abandons the registration process before the pending invoice is approved and while the account status is billable, Aria continues to generate invoices for the account. You may choose to deactivate the account to prevent additional invoices from being generated.

Instructions

Follow the steps below to simultaneously register a parent account and a child account with responsibility level 2, 3, or 4 for a paid plan using an electronic check:

Step 1. Use the create_acct_complete call to create the parent account.

Precondition: A customer visits your website and signs up for a parent account and one or more child accounts in the same sitting.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. If the status in the master plan is not billable, set the status_cd field to a billable status. Refer to the status_cd allowable values in the create_acct_complete API documentation for the list of account statuses.
  4. Set the do_full_invoicing field to false. This prevents the account from being invoiced at this point.
  5. Set the master_plan_no field to the number assigned to the master plan that the customer selected for the parent account.
  6. Set the userid field to the user ID that the customer entered.
  7. Set the password field to the password that the customer entered.
  8. Set additional fields based on your company’s requirements.

Note: It is not recommended that you set the bank account fields using the create_acct_complete call. It is recommended that you use Direct Post to set the bank account fields as described in Step 10.

Postcondition: The account is created and an account number is returned.


Step 2. Use the create_acct_complete call to create a child account.

Precondition: A customer visits your website and signs up for a parent account and one or more child accounts in the same session.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the do_full_invoicing field to false. This prevents the account from being invoiced at this point.
  4. Set the resp_level_cd field to 2, 3, or 4.
  5. Set the senior_acct_no field to the account number of the parent account.
  6. Set the master_plan_no field to the number of the master plan that the customer selected for the child account.
  7. If the status in the master plan is not billable, set the status_cd field to a billable status. Refer to the status_cd legend in the create_acct_complete API  documentation for the list of account statuses.
  8. Set the master_plan_no field to the number assigned to the master plan that the customer selected.
  9. Set the userid field to the user ID that the customer entered.
  10. Set the password field to the password that the customer entered.
  11. Set additional fields based on your company’s requirements.

Postcondition: The account is created and an account number is returned.


Step 3. Use the gen_invoice call to generate a pending invoice for the parent account.

Precondition: An account was created. An account number was returned by the create_acct_complete call used to create the parent account.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the acct_no field to the account number returned by the create_acct_complete call used to create the parent account.
  4. Set the force_pending field to true.

Note: If the pending invoices option is set to false in your Aria implementation, the API call overrides the setting in your Aria implementation.

Postconditions:

  • A pending invoice is generated. When an invoice is pending, a collection is not attempted.
  • An invoice number is returned.


Step 4. The get_invoice_details call obtains the details of the invoice generated for the parent account.

Precondition: An invoice number was returned by the gen_invoice call used to generate an invoice for the parent account.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the acct_no field to the account number returned by the create_acct_complete call used to create the parent account.
  4. Set the src_transaction_id field to the invoice number returned by the gen_invoice call used to generate an invoice for the parent account.

Postcondition: The invoice details are returned.


Step 5. Use the gen_invoice call to generate a pending invoice for the child account.

Precondition: An account was created. An account number was returned by the create_acct_complete call used to create the child account.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the acct_no field to the account number returned by the create_acct_complete call used to create the child account.
  4. Set the force_pending field to true.

Note: If the pending invoices option is set to false in your Aria implementation, the API call overrides the setting in your Aria implementation.

Postconditions:

  • A pending invoice is generated. When an invoice is pending, a collection is not attempted.
  • An invoice number is returned.


Step 6. The get_invoice_details call obtains the details of the invoice generated for the child account.

Precondition: An invoice number was returned by the gen_invoice call used to generate an invoice for the child account.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the acct_no field to the account number returned by the create_acct_complete call used to create the child account.
  4. Set the src_transaction_id field to the invoice number returned by the gen_invoice call used to generate an invoice for the child account.

Postcondition: The invoice details are returned.

Step 7. Use the gen_invoice and get_invoice_details calls in sequence again for each additional child account that the customer registered for.

Step 8. Obtain the total combined balance of the parent account and child account(s).

Step 9. Use the set_session call to obtain an Aria session ID for Direct Post.

Precondition: A parent account and one or more child accounts were created.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the user_id field to the user ID that the customer entered for the parent account.

Postcondition: An Aria session ID for Direct‐Post is obtained.


Step 10. Transmit bank account information from your payment information page to Direct Post.

Preconditions:

  • You created a Direct‐Post configuration set.
  • An Aria session ID for Direct‐Post was obtained.
  • The customer entered bank account information for the parent account.

Transmit the following fields and values from your payment information page to Direct‐Post:

  1. Set the mode field to the suffix of the configuration set that you created.

For example, if you named your configuration set “direct_post_paidreg”, then you would set the mode field to “paidreg”. The mode field is a hidden field.

  1. Set the inSessionID field to the session ID returned by the set_session call. The inSessionID field is a hidden field.
  2. Set the client_no field to your Aria‐assigned client number. The client_no field is a hidden field.
  3. Set the formOfPayment field to ACH.
  4. Set the bank_routing_num field to the bank routing number that the customer entered.
  5. Set the bank_acct_num field to the bank account number that the customer entered.

Postcondition: The session ID is returned.
 

Step 11. Direct‐Post triggers secure bank account transactions based on your configuration set.

Precondition: Bank account information was transmitted from your payment information page to Direct‐Post.

Direct Post does the following:

  1. Verifies the validity of the session.
  2. Validates the bank routing number.
  3. Sets the payment method of the parent account to ACH.

Note: If an error occurs as a result of steps b or c above, then redisplay the payment information page and repeat the process beginning with Step 10.

Postconditions:

  • A session ID is returned.
  • The bank routing number is validated.
  • The payment method of the parent account is set to ACH.

 

Step 12. Use the manage_pending_invoice call to approve the pending invoice generated for the child account.

Preconditions:

  • The customer confirmed account, plan, and invoice information,
  • The gen_invoice call generated a pending invoice for the child account.
  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the invoice_no field to the invoice number returned by the gen_invoice call used to generate an invoice for the child account.
  4. Set the action_directive field to 1 to approve the pending invoice.

Postconditions:

  • The pending invoice for the child account is approved.
  • The balance of the child invoice is transferred to the parent account.


Step 13. Use the manage_pending_invoice call again for any additional pending invoices generated for child accounts.


Step 14. Use the manage_pending_invoice call to approve the pending invoice generated for the parent account.

Precondition: The gen_invoice call generated a pending invoice for the parent account.

  1. Set the client_no field to your Aria‐assigned ID number.
  2. Set the auth_key field to your Aria‐assigned authorization key.
  3. Set the invoice_no field to the invoice number returned by the gen_invoice call used to generate an invoice for the parent account.
  4. Set the action_directive field to 1 to approve the pending invoice.

Postcondition: The pending invoice for the parent account is approved.


Step 15. The Auto Collect On Pending Invoice Approval option in Aria6 collects the payment from the customer.

Preconditions:

  • The Auto Collect On Pending Invoice Approval option in Aria6 is set to True.
  • The pending invoice for the parent account was approved.

Postcondition: The payment is collected from the parent account holder.


Step 16. The Auto Send Statement On Pending Invoice Approval option in Aria6 sends the statement to the customer.

Preconditions:

  • The Auto Send Statement On Pending Invoice Approval option in Aria6 is set to True.
  • The pending invoice for the parent account was approved.

Postcondition: The statement is sent to the parent account holder’s billing email address.

Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.