__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php

namespace WPForms\Integrations\Stripe;

use WPForms\Integrations\IntegrationInterface;

/**
 * Integration of the Stripe payment gateway.
 *
 * @since 1.8.2
 */
final class Stripe implements IntegrationInterface {

	/**
	 * Determine if the integration is allowed to load.
	 *
	 * @since 1.8.2
	 *
	 * @return bool
	 */
	public function allow_load() {

		// Determine whether the Stripe addon version is compatible with the WPForms plugin version.
		$addon_compat = ( new StripeAddonCompatibility() )->init();

		if ( $addon_compat && ! $addon_compat->is_supported_version() ) {
			$addon_compat->hooks();

			return false;
		}

		/**
		 * Whether the integration is allowed to load.
		 *
		 * @since 1.8.2
		 *
		 * @param bool $is_allowed Integration loading state.
		 */
		return (bool) apply_filters( 'wpforms_integrations_stripe_allow_load', true );
	}

	/**
	 * Load the integration.
	 *
	 * @since 1.8.2
	 */
	public function load() {

		( new Api\WebhookRoute() )->init();

		if ( wpforms_is_admin_page( 'builder' ) ) {
			( new Admin\Builder\Enqueues() )->init();
		}

		$api = new Api\PaymentIntents();

		( new WebhooksHealthCheck() )->init();
		( new DomainHealthCheck() )->init();
		( new Admin\Payments\SingleActionsHandler() )->init( $api );

		// Bail early for paid users with active Stripe addon.
		if ( Helpers::is_pro() ) {
			return;
		}

		// It must be run only for the integration bundled into the core plugin.
		$api->init();

		( new Process() )->init( $api );
		( new Frontend() )->init( $api );

		if ( wpforms_is_admin_page( 'settings', 'payments' ) ) {
			( new Admin\Settings() )->init();
		}

		if ( wpforms_is_admin_page( 'builder' ) ) {
			( new Admin\Builder\Settings() )->init();
			( new Admin\Builder\Notifications() )->init();
		}
	}
}

Filemanager

Name Type Size Permission Actions
Admin Folder 0775
Api Folder 0775
Fields Folder 0775
DomainHealthCheck.php File 3.12 KB 0775
Frontend.php File 5.55 KB 0775
Helpers.php File 11.05 KB 0775
Process.php File 36.1 KB 0775
RateLimit.php File 8.69 KB 0775
Stripe.php File 1.74 KB 0775
StripeAddonCompatibility.php File 1.84 KB 0775
WebhooksHealthCheck.php File 7.26 KB 0775
apple-developer-merchantid-domain-association File 8.9 KB 0775
Filemanager