Internet Secure

Integration Payments AffiliateSoftware InternetSecure

Internet Secure integration

Internet Secure is a Canadian payment gateway. It gives your business everything it needs to accept credit cards, including Visa, MasterCard, American Express and Discover, in two currencies (Canadian and US dollars).

The Post Affiliate Pro plugin connects the two. After every payment, Internet Secure sends a notification to your Post Affiliate Pro installation, and the plugin registers the sale for the affiliate who referred the customer. When a refund is approved in Internet Secure, the plugin marks the matching transaction as refunded.

How to integrate PostAffiliatePro with Internet Secure

Plugin activation

To be able to parse information sent from Internet Secure, you have to activate the Internet Secure plugin in your Post Affiliate Pro . In your merchant panel navigate to Configuration > Plugins > Internet Secure notification handling > Activate.

After activation, configure the plugin at least to specify which custom field you will use for tracking. In this example we are using xxxVar1. Internet Secure gives us the option to use 5 custom variables, so you can choose. All other settings are described in the plugin settings section below.

Integration of payment form

Your payment buttons/forms code look like this:

<form name="form1" action="https://secure.internetsecure.com/process.cgi" method="get">
  <input type="hidden" name="MerchantNumber" value="123456" />
  <input type="hidden" name="language" value="English" />
  <input type="hidden" name="ReturnURL" value="http://www.yoursite.com/thanks.php" />
  <input type="hidden" name="Products" value="001,1|002,1" />
  <input type="submit" name="Submit" value="Check Out" />
</form>

To integrate it, you have to add this code to each form:

<input type="hidden" name="xxxVar1" value="" id="pap_dx8vc2s5" />
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>

Remember, if you are already using the xxxVar1 variable, you should use another one and set the same one in your plugin configuration in Post Affiliate Pro .

Note: If you have more than one payment form at a page, you can place the <script> part only once per whole page. The payment forms need <input> part only.

Integrated form example 1

Here is an example of integrated form:

<form name="form1" action="https://secure.internetsecure.com/process.cgi" method="get">
  <input type="hidden" name="MerchantNumber" value="123456" />
  <input type="hidden" name="language" value="English" />
  <input type="hidden" name="ReturnURL" value="http://www.yoursite.com/thanks.php" />
  <input type="hidden" name="Products" value="001,1|002,1" />
  <input type="submit" name="Submit" value="Check Out" />

<input type="hidden" name="xxxVar1" value="" id="pap_dx8vc2s5" />
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>

</form>

Integrated form example 2

Here you are an example of more than one payment form at one page:

<form name="form1" action="https://secure.internetsecure.com/process.cgi" method="get">
  <input type="hidden" name="MerchantNumber" value="123456" />
  <input type="hidden" name="language" value="English" />
  <input type="hidden" name="ReturnURL" value="http://www.yoursite.com/thanks.php" />
  <input type="hidden" name="Products" value="001,1|002,1" />
  <input type="submit" name="Submit" value="Check Out" />

<input type="hidden" name="xxxVar1" value="" id="pap_dx8vc2s5" />

</form>

<form name="form1" action="https://secure.internetsecure.com/process.cgi" method="get">
  <input type="hidden" name="MerchantNumber" value="123456" />
  <input type="hidden" name="language" value="English" />
  <input type="hidden" name="ReturnURL" value="http://www.yoursite.com/thanks.php" />
  <input type="hidden" name="Products" value="004,1|005,1|006,1" />
  <input type="submit" name="Submit" value="Check Out" />

<input type="hidden" name="xxxVar1" value="" id="pap_dx8vc2s5" />

</form>

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/notifysale.php" type="text/javascript">
</script>

As you can see, the xxxVar1 variable is used per form, but the tracking script is there only once, for the whole page.

Internet Secure setup

To finalize the integration, you have to set the Internet Secure configuration to notify Post Affiliate Pro about any payment.

Login to your admin panel and follow these steps:

  1. Navigate to Export Script and then to Export Script Options
  2. Set Domain Name to domain of your PAP: https://URL_TO_PostAffiliatePro
  3. Set Web Page to: /plugins/ISecure/isecure.php
  4. Choose type of transactions you want to receive notifications for. Include refunds if you want them to be processed automatically.
  5. Finally set your alert email. It will issue an Alert Email to advise you that the export script has failed.
  6. That’s it. Now your payments are integrated.

Do not forget to integrate your site with the click tracking code.

Plugin settings

The plugin has the following options:

  • Custom field number (1-5): the Internet Secure custom variable (xxxVar1 to xxxVar5) that carries the tracking value from your payment form.
  • Discount tax: subtracts the tax from the total cost, so the affiliate commission is calculated from the amount without tax.
  • Register new affiliate with every occurred event: creates a new affiliate from the data in the order, such as the customer’s name, email, city and address.
  • Process whole cart as one transaction: enabled by default. All items from the order are registered as one sale. Disable it to register every item in the cart as a separate sale.
  • Approve affiliate after successful payment: a pending affiliate whose email matches the cardholder’s email is approved after a successful payment.
  • Test mode: skips the back verification of the notification. Use it only while you are testing the integration.

How refunds are handled

Internet Secure reports an approved refund through the same Export Script notification. The plugin then finds the original sale by its order number and marks it as refunded, so the commission is reversed without any manual work. Make sure refunds are included in the transaction types you chose in the Export Script Options.

What is Internet Secure?

Internet Secure (InternetSecure Inc.) is a Canadian company founded in 1995 to provide secure, real-time credit card processing for online merchants. It is an outsourced payment solution, so you do not have to build or host the card processing yourself, and it offers an export script that notifies your own system about every transaction, which is the feature Post Affiliate Pro uses for this integration.

Because it supports both Canadian and US dollars, it is a practical choice for stores that sell on both sides of the border and still want every affiliate sale tracked in one place.

Key features of Internet Secure

  • Real-time card processing: accept Visa, MasterCard, American Express and Discover payments online.
  • Two currencies: charge your customers in Canadian or US dollars.
  • Fraud detection: the service includes its own fraud detection software.
  • Shopping cart integrations: it integrates with popular storefront and shopping cart solutions.
  • Export script: every transaction can be sent to your own system, which is how sales and refunds reach Post Affiliate Pro.

Alternatives to Internet Secure

If Internet Secure does not fit your business, there are several other payment gateways used in Canada:

Other payment gateway integrations

Post Affiliate Pro also integrates with many other payment gateways. See the guides for Stripe , PayPal , NMI , or browse all integrations .

Frequently asked questions

Enhance Your Affiliate Management

Integrate Internet Secure with Post Affiliate Pro for seamless payment processing and advanced affiliate tracking. Start optimizing your payment solutions today!

Learn more

Paysite Cash
Paysite Cash

Paysite Cash

Discover how to integrate Paysite Cash with Post Affiliate Pro for secure, reliable payment processing and robust affiliate tracking, tailored for high-risk and...

6 min read
Integration Payments +3
PagSeguro
PagSeguro

PagSeguro

Would you like to improve your affiliate software even more? Check out the PagSeguro integration for Post Affiliate Pro.

5 min read
PagSeguro Payments +3
PagSeguro (IPN already used)
PagSeguro (IPN already used)

PagSeguro (IPN already used)

Learn how to integrate PagSeguro (IPN already used) with Post Affiliate Pro. Follow this step-by-step guide to set up transaction notifications, modify the IPN ...

3 min read
PagSeguro Payments +3

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface