Prepaid, Debit Card and Mastercard Redirect (For Devs)

Prepaid

Go to CRM | Campaigns and edit a Campaign. Under the Billing Options section enable Block Prepaid Cards:

Edit your landing page config.php file and add the prepaidRedirectUrl directive:

<?php KformConfig::setConfig(array( "isWordpress"=>false, "apiLoginId"=>"", "apiPassword"=>"", "authString"=>"f193e98f598bb4e808e973d5b84e7df9", "autoUpdate_allowedIps"=>array("80.248.30.132"), "campaignId"=>1, "prepaidRedirectUrl"=>'https://mylander.com/checkout.php', "resourceDir"=>"resources/"));

Debit

Go to CRM | Campaigns and edit a Campaign. Under the Billing Options section enable Block Debit Cards:

Note: This setting will override any MID settings.

Edit your landing page config.php file and add the debitRedirectUrl directive:

<?php KformConfig::setConfig(array( "isWordpress"=>false, "apiLoginId"=>"", "apiPassword"=>"", "authString"=>"f193e98f598bb4e808e973d5b84e7df9", "autoUpdate_allowedIps"=>array("80.248.30.132"), "campaignId"=>1, "debitRedirectUrl"=>'https://mylander.com/checkout.php', "resourceDir"=>"resources/"));

Mastercard

Go to CRM | Campaigns and edit a Campaign. Under the Billing Options section enable Block MasterCard:

Note: This setting will override any MID settings.

Edit your landing page config.php file and add the mastercardRedirectUrl directive:

<?php KformConfig::setConfig(array( "isWordpress"=>false, "apiLoginId"=>"", "apiPassword"=>"", "authString"=>"f193e98f598bb4e808e973d5b84e7df9", "autoUpdate_allowedIps"=>array("80.248.30.132"), "campaignId"=>1, "mastercardRedirectUrl"=>'https://mylander.com/checkout.php', "resourceDir"=>"resources/"));

Last updated