# Prepaid, Debit Card & Mastercard Redirect (For Devs)

* [Prepaid](https://help.konnektive.com/konnektive-crm/crm-setup/campaign-setup/landing-page-setup-form-code/broken-reference)
* [Debit](https://help.konnektive.com/konnektive-crm/crm-setup/campaign-setup/landing-page-setup-form-code/broken-reference)
* [Mastercard](https://help.konnektive.com/konnektive-crm/crm-setup/campaign-setup/landing-page-setup-form-code/broken-reference)

***

#### **Prepaid** <a href="#prepaid-debitcard-and-mastercardredirect-fordevs-prepaid" id="prepaid-debitcard-and-mastercardredirect-fordevs-prepaid"></a>

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** <a href="#prepaid-debitcard-and-mastercardredirect-fordevs-debit" id="prepaid-debitcard-and-mastercardredirect-fordevs-debit"></a>

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** <a href="#prepaid-debitcard-and-mastercardredirect-fordevs-mastercard" id="prepaid-debitcard-and-mastercardredirect-fordevs-mastercard"></a>

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/"));
```
