Please don't test your biller setup with CashtoCode's test account—it won't work correctly.
To add CashtoCode to NATS, select "CashtoCode" from the dropdown menu list of billers next to "Setup New Biller" in the Billers Admin. Once selected, click "Add" on the right side of the page to finish adding CashtoCode.
Note: If you don't see CashtoCode, put in a support ticket, as you may need an updated version of NATS.
Once you have added the Biller you will be able to edit biller-specific account information by clicking the pencil icon next to CashtoCode labeled, "Edit CashtoCode Account Info". You will need to get the following information from your CashtoCode account:
- Merchant ID
- Api Sub Domain
- callbackURL Username
- callbackURL Password
CashtoCode requires no site-specific information to be modified in your tour configuration. Instead, join options with CashtoCode must be configured as a special join option by clicking "Set Special Payment Options" next to the site for which you would like to set up a CashtoCode join option in the Sites Admin.
- CashtoCode Amount: The transaction amount of the join option.
- CashtoCode Currency: This is the currency that will be used to calculate the transaction amount in currency based on what is set for the Amount field.
Note: CashtoCode does not postback information regarding the member's expire date so the following fields are required:
- CashtoCode Active Number: This is the number of days, hours or minutes you would like to set for the duration of the subscription.
- CashtoCode Active Period: This is the unit of time for which you would like the Active Number to be active.
For example, a special join option with Active Number: 1 and Active Period: DAY will be a join option that expires after 1 day.
By default, CashtoCode will need to used the special join option to collect the following data and all below information is required:
The same fields can also be optional you will need to contact cashtocode to config:
- First Name
- Last Name
- Date of Birth
Please update the "join_special" and "join_special_mobile" template and replace "$config.CTC_BILLER_ID" with CashtoCode billerid in NATS, this will allow special join template display required feilds for CashtoCode