This is the recommended process to follow to register an account for a customer who is signing up for one or more paid plans using the credit card payment method when the billing date is in the future and proration occurs:
The process described in the credit card payment flow for paid plans with a future billing date and a prorated Invoice deals with:
Create your master plan(s) in Aria6 and specify the status that an account to which the plan is assigned should have.
You can use the same configuration set that you created for account registration with the credit card payment method for paid plans when the billing date is the same as the account creation date. For more information, see:
Registering an Account using a Credit Card for a Paid Plan with Billing Date on Account Creation Date
At the end of the account registration process described in the credit card payment flow for paid plans when the billing date is in the future and proration occurs, the following results are achieved:
The diagram below illustrates the recommended process for registering an account for paid plans when using the credit card payment method when the billing date is in the future and proration occurs:
The grey boxes indicate functions automatically triggered by Direct-Post based on your configuration set.
Follow the steps below to register an account for paid plans using the credit card payment method when the billing date is in the future and proration occurs:
Precondition: A customer visits your website and signs up for one or more paid service plans.
Example: If the account creation date is 11/1/11, the do_prorated_invoicing field is set to false, and the alt_bill_day field in the gen_invoice call is set to 15, then the customer’s first invoice covers a period from 11/1/11 to 11/14/11. The customer’s second invoice covers a period from 11/15/11 to 12/14/11, etc.
Note: It is not recommended that you set the credit card fields using the create_acct_complete call. It is recommended that you use Direct-Post to set the credit card fields as described in Step 5 below.
Postcondition: The account is created and an account number is returned.
Preconditions:
Examples:
If the account creation date is 11/1/11 and you want the customer to be billed on the 19th of every month, set this field to 19. Because a prorated invoice has been created, the customer is billed for a period from 11/1/11 to 11/18/11, then from 11/19/11 to 12/18/11, etc.
If the account creation date is 11/21/11 and you want the customer to be billed on the 20th of every month, set this field to 20. Because a prorated invoice has been created, the customer is billed for a period from 11/21/11 to 12/19/11, then from 12/20/11 to 1/19/12, etc.
Note: The length of the proration period cannot be longer than the shortest billing period for any of the customer’s plans.
Example: If the customer registered for one plan that is billed monthly and a different plan that is billed quarterly, the proration period cannot be longer than one month. Therefore, the billing date that you specify cannot be more than one month into the future.
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:
Precondition: An account exists.
Postcondition: An Aria session ID for Direct-Post is obtained.
Preconditions:
Transmit the following fields and values from your payment information page to Direct-Post:
Example: If you named your configuration set “direct_post_paidbillnowreg”, then you would set the mode field to “paidbillnowreg”. The mode field is a hidden field.
Postcondition: The session ID is returned.
Precondition: Credit card information was transmitted from your payment information page to Direct-Post.
Direct-Post does the following:
Note: If an error occurs after Steps b, c, d, or e above, then redisplay the payment information page and repeat the process beginning with Step 4.
Postconditions:
Precondition: The pending invoice was approved.
Postcondition: The customer’s user ID and account number are returned.
Preconditions:
Postcondition: The invoice details are returned.
Preconditions:
Postcondition: The payment is collected from the customer.
Preconditions:
Postcondition: The statement is sent to the customer’s billing email address.