Setting up at Safecharge
Safecharge needs to add your server's IP as an IP that can connect to reports.safecharge.com. Please provider Safecharge with your server's IP and ask them to do so.
Setting up in Nats
Go to the Billers Admin, select Safecharge. from the drop-down, and click
Add. Enter your Gateway Login, Gateway Password, Query on Demand Username, Query on Demand Password, and Rebilling Password that was provided by Safecharge. Note: Safecharge will need to be added to a cascade before it can be used.
Go to the Sites Admin, edit or create a tour, and go to the Join Options for this Tour section. Edit (or create) the option you want to use with Safecharge. Select the Safecharge Currency Type you want to use with this option. You also will need to fill out Statement Descriptor, used to describe the purchase, as well as the Template ID (provided by Safecharge).
This option setup may also require rules to be setup. You can do so with the purple arrows next to the option row (similar to the several other areas across NATS).
Go to the Upsells Admin, click incoming or outgoing cross sales from the navigation tabs (depending on whether you are sending or receiving the cross sale).
If you are receiving the cross sale, go to the Incoming Cross sales section. Add Safecharge from the biller drop down. Fill in the Template ID for the cross sale (option code that describes initial/recurring period), provided by Safecharge. You will want to select the site and program that you want to associate with this cross sale. Then, fill in the details for this cross sale: Title, Initial price/days, Recurring price/days, as well as the Company Number for the cross sell. Last, you will need to add a configuration to your config_override file on your server:
This configuration is called $config['XSELL_SAFECHARGE_SECURE_IPS'] and should contain the IP(s) of the system sending you the cross sale. For example, if you are doing a cross sale to yourself, you will want to have your NATS IP(s) in this configuration. This configuration should be formatted as follows:
$config['XSELL_SAFECHARGE_SECURE_IPS'] = Array(
"0" => "<IP ADDRESS0>",
"1" => "<IP ADDRESS1>",
If you are sending the cross sale, go to the Outgoing Cross Sales section. Add Safecharge from the biller drop down. Also in this section you will fill in the following: Title , Description, and Disclaimer for this cross sell. In the Biller Info you will fill out the data for the receiving end (they will provide this information to you). Fill in Company Number, Ref Code, Domain, and Currency Type.
Note: If you are sending a cross sale to another Nats customer, you can obtain the biller information for the outgoing cross sale from their Nats install. Login to their Nats install with the account that you want to be credited with the cross sale. Next goto http://<other nats domain>/internal.php?page=xsells . You will see the information you need to fill in your admin from this page. You will also want to provide them with your NATS IP(s) so they can configure their NATS accordingly.
If you have any further questions regarding the setup of Safecharge in NATS v4, please put in a support ticket.