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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.konnektive.com/konnektive-crm/crm-setup/campaign-setup/landing-page-setup-form-code/prepaid-debit-card-and-mastercard-redirect-for-devs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
