> For the complete documentation index, see [llms.txt](https://help.konnektive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.konnektive.com/konnektive-crm/crm-setup/campaign-setup/landing-page-setup-form-code/prepaid-debit-card-and-mastercard-redirect-for-devs.md).

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

* [Prepaid](broken://pages/c7rlMR50A6tAoXI2rlnW)
* [Debit](broken://pages/c7rlMR50A6tAoXI2rlnW)
* [Mastercard](broken://pages/c7rlMR50A6tAoXI2rlnW)

***

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