Warning: This method has been deprecated.

WC_Admin_Setup_Wizard::is_stripe_supported_country( string $country_code )

Is Stripe country supported https://stripe.com/global .


Description Description


Parameters Parameters

$country_code

(Required) Country code.


Top ↑

Source Source

File: includes/admin/class-wc-admin-setup-wizard.php

	protected function is_stripe_supported_country( $country_code ) {
		$stripe_supported_countries = array(
			'AU',
			'AT',
			'BE',
			'CA',
			'DK',
			'FI',
			'FR',
			'DE',
			'HK',
			'IE',
			'JP',
			'LU',
			'NL',
			'NZ',
			'NO',
			'SG',
			'ES',
			'SE',
			'CH',
			'GB',
			'US',
		);

		return in_array( $country_code, $stripe_supported_countries, true );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.