# give/4.17.0/src/PaymentGateways/Gateways/PayPalStandard/Migrations/RemovePayPalIPNVerificationSetting.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.17.0. 53 lines.

- Page: https://pluginprobe.com/plugins/give/4.17.0/code/src/PaymentGateways/Gateways/PayPalStandard/Migrations/RemovePayPalIPNVerificationSetting.php
- Raw: https://pluginprobe.com/plugins/give/4.17.0/raw/src/PaymentGateways/Gateways/PayPalStandard/Migrations/RemovePayPalIPNVerificationSetting.php
- Modified: 2022-02-25T01:33:58+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.17.0/code/src/PaymentGateways/Gateways/PayPalStandard/Migrations/RemovePayPalIPNVerificationSetting.php#L10-L20`.

```php
<?php

namespace Give\PaymentGateways\Gateways\PayPalStandard\Migrations;

use Give\Framework\Migrations\Contracts\Migration;

/**
 * @since 2.15.0
 */
class RemovePayPalIPNVerificationSetting extends Migration
{

    /**
     * @inheritDoc
     */
    public function run()
    {
        // Reset paypal gateway id to paypal.
        $give_settings = give_get_settings();

        if (array_key_exists('paypal_verification', $give_settings)) {
            give_delete_option('paypal_verification');
        }
    }

    /**
     * @since 2.15.0
     * @return string
     */
    public static function id()
    {
        return 'remove-paypal-ipn-verification-setting';
    }

    /**
     * @since 2.15.0
     * @return int
     */
    public static function timestamp()
    {
        return strtotime('2021-09-28');
    }

    /**
     * @since 2.15.0
     * @return string
     */
    public static function title()
    {
        return 'Remove PayPal IPN Verification Setting';
    }
}

```
