$69 GRAYBYTE WORDPRESS FILE MANAGER $13

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/home/bravrvjk/kigalix.com/wp-content/plugins/wpforms-lite/src/Integrations/Stripe/

HOME
Current File : /home/bravrvjk/kigalix.com/wp-content/plugins/wpforms-lite/src/Integrations/Stripe//Stripe.php
<?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();
		}
	}
}


Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
9 May 2025 2.02 AM
bravrvjk / bravrvjk
0755
Admin
--
9 May 2025 2.02 AM
bravrvjk / bravrvjk
0755
Api
--
9 May 2025 2.02 AM
bravrvjk / bravrvjk
0755
Fields
--
9 May 2025 2.02 AM
bravrvjk / bravrvjk
0755
DomainHealthCheck.php
3.116 KB
26 Sep 2024 3.36 PM
bravrvjk / bravrvjk
0644
Frontend.php
4.976 KB
27 Feb 2025 5.40 PM
bravrvjk / bravrvjk
0644
Helpers.php
10.598 KB
24 Apr 2025 2.53 PM
bravrvjk / bravrvjk
0644
Process.php
30.698 KB
24 Apr 2025 2.53 PM
bravrvjk / bravrvjk
0644
RateLimit.php
8.686 KB
26 Sep 2024 3.36 PM
bravrvjk / bravrvjk
0644
Stripe.php
1.74 KB
24 Apr 2025 2.53 PM
bravrvjk / bravrvjk
0644
StripeAddonCompatibility.php
1.838 KB
28 Sep 2023 3.44 PM
bravrvjk / bravrvjk
0644
WebhooksHealthCheck.php
7.264 KB
24 Apr 2025 2.53 PM
bravrvjk / bravrvjk
0644
apple-developer-merchantid-domain-association
8.9 KB
16 Jan 2024 5.57 PM
bravrvjk / bravrvjk
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF