Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions

DefaultPaymentGateways::get_all()public staticWC 1.0

Get default specs.

Method of the class: DefaultPaymentGateways{}

No Hooks.

Return

Array. Default specs.

Usage

$result = DefaultPaymentGateways::get_all();

DefaultPaymentGateways::get_all() code WC 8.7.0

public static function get_all() {
	$payment_gateways = array(
		array(
			'id'                  => 'affirm',
			'title'               => __( 'Affirm', 'woocommerce' ),
			'content'             => __( 'Affirm’s tailored Buy Now Pay Later programs remove price as a barrier, turning browsers into buyers, increasing average order value, and expanding your customer base.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/affirm.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/affirm.png',
			'plugins'             => array(),
			'external_link'       => 'https://woo.com/products/woocommerce-gateway-affirm',
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'US',
						'CA',
					)
				),
			),
			'category_other'      => array(),
			'category_additional' => array(
				'US',
				'CA',
			),
		),
		array(
			'id'                  => 'afterpay',
			'title'               => __( 'Afterpay', 'woocommerce' ),
			'content'             => __( 'Afterpay allows customers to receive products immediately and pay for purchases over four installments, always interest-free.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/afterpay.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/afterpay.png',
			'plugins'             => array( 'afterpay-gateway-for-woocommerce' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'US',
						'CA',
						'AU',
					)
				),
			),
			'category_other'      => array(),
			'category_additional' => array(
				'US',
				'CA',
				'AU',
			),
		),
		array(
			'id'                  => 'airwallex_main',
			'title'               => __( 'Airwallex Payments', 'woocommerce' ),
			'content'             => __( 'Boost international sales and save on FX fees. Accept 60+ local payment methods including Apple Pay and Google Pay.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/airwallex.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/airwallex.png',
			'plugins'             => array( 'airwallex-online-payments-gateway' ),
			'is_visible'          => array(
				self::get_rules_for_countries( array( 'GB', 'AT', 'BE', 'EE', 'FR', 'DE', 'GR', 'IE', 'IT', 'NL', 'PL', 'PT', 'AU', 'NZ', 'HK', 'SG', 'CN' ) ),
			),
			'category_other'      => array( 'GB', 'AT', 'BE', 'EE', 'FR', 'DE', 'GR', 'IE', 'IT', 'NL', 'PL', 'PT', 'AU', 'NZ', 'HK', 'SG', 'CN' ),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'amazon_payments_advanced',
			'title'               => __( 'Amazon Pay', 'woocommerce' ),
			'content'             => __( 'Enable a familiar, fast checkout for hundreds of millions of active Amazon customers globally.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/amazonpay.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/amazonpay.png',
			'plugins'             => array( 'woocommerce-gateway-amazon-payments-advanced' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'US',
						'AT',
						'BE',
						'CY',
						'DK',
						'ES',
						'FR',
						'DE',
						'GB',
						'HU',
						'IE',
						'IT',
						'LU',
						'NL',
						'PT',
						'SL',
						'SE',
						'JP',
					)
				),
			),
			'category_other'      => array(),
			'category_additional' => array(
				'US',
				'AT',
				'BE',
				'CY',
				'DK',
				'ES',
				'FR',
				'DE',
				'GB',
				'HU',
				'IE',
				'IT',
				'LU',
				'NL',
				'PT',
				'SL',
				'SE',
				'JP',
			),
		),
		array(
			'id'          => 'bacs',
			'title'       => __( 'Direct bank transfer', 'woocommerce' ),
			'content'     => __( 'Take payments via bank transfer.', 'woocommerce' ),
			'image'       => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/bacs.svg',
			'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/bacs.png',
			'is_visible'  => array(
				self::get_rules_for_cbd( false ),
			),
			'is_offline'  => true,
		),
		array(
			'id'          => 'cod',
			'title'       => __( 'Cash on delivery', 'woocommerce' ),
			'content'     => __( 'Take payments in cash upon delivery.', 'woocommerce' ),
			'image'       => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/cod.svg',
			'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/cod.png',
			'is_visible'  => array(
				self::get_rules_for_cbd( false ),
			),
			'is_offline'  => true,
		),
		array(
			'id'                  => 'eway',
			'title'               => __( 'Eway', 'woocommerce' ),
			'content'             => __( 'The Eway extension for WooCommerce allows you to take credit card payments directly on your store without redirecting your customers to a third party site to make payment.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/eway.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/eway.png',
			'plugins'             => array( 'woocommerce-gateway-eway' ),
			'is_visible'          => false,
			'category_other'      => array(),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'kco',
			'title'               => __( 'Klarna Checkout', 'woocommerce' ),
			'content'             => __( 'Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/klarna-black.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/klarna.png',
			'plugins'             => array( 'klarna-checkout-for-woocommerce' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'NO',
						'SE',
						'FI',
					)
				),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array(
				'NO',
				'SE',
				'FI',
			),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'klarna_payments',
			'title'               => __( 'Klarna Payments', 'woocommerce' ),
			'content'             => __( 'Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/klarna-black.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/klarna.png',
			'plugins'             => array( 'klarna-payments-for-woocommerce' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'MX',
						'US',
						'CA',
						'AT',
						'BE',
						'CH',
						'DK',
						'ES',
						'FI',
						'FR',
						'DE',
						'GB',
						'IT',
						'NL',
						'NO',
						'PL',
						'SE',
						'NZ',
						'AU',
					)
				),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array(),
			'category_additional' => array(
				'MX',
				'US',
				'CA',
				'AT',
				'BE',
				'CH',
				'DK',
				'ES',
				'FI',
				'FR',
				'DE',
				'GB',
				'IT',
				'NL',
				'NO',
				'PL',
				'SE',
				'NZ',
				'AU',
			),
		),
		array(
			'id'                  => 'mollie_wc_gateway_banktransfer',
			'title'               => __( 'Mollie', 'woocommerce' ),
			'content'             => __( 'Effortless payments by Mollie: Offer global and local payment methods, get onboarded in minutes, and supported in your language.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/mollie.svg',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/mollie.png',
			'plugins'             => array( 'mollie-payments-for-woocommerce' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'AT',
						'BE',
						'CH',
						'ES',
						'FI',
						'FR',
						'DE',
						'GB',
						'IT',
						'NL',
						'PL',
					)
				),
			),
			'category_other'      => array(
				'AT',
				'BE',
				'CH',
				'ES',
				'FI',
				'FR',
				'DE',
				'GB',
				'IT',
				'NL',
				'PL',
			),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'payfast',
			'title'               => __( 'Payfast', 'woocommerce' ),
			'content'             => __( 'The Payfast extension for WooCommerce enables you to accept payments by Credit Card and EFT via one of South Africa’s most popular payment gateways. No setup fees or monthly subscription costs. Selecting this extension will configure your store to use South African rands as the selected currency.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/payfast.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/payfast.png',
			'plugins'             => array( 'woocommerce-payfast-gateway' ),
			'is_visible'          => array(
				self::get_rules_for_countries( array( 'ZA' ) ),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array( 'ZA' ),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'payoneer-checkout',
			'title'               => __( 'Payoneer Checkout', 'woocommerce' ),
			'content'             => __( 'Payoneer Checkout is the next generation of payment processing platforms, giving merchants around the world the solutions and direction they need to succeed in today’s hyper-competitive global market.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/payoneer.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/payoneer.png',
			'plugins'             => array( 'payoneer-checkout' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'HK',
						'CN',
					)
				),
			),
			'category_other'      => array(),
			'category_additional' => array(
				'HK',
				'CN',
			),
		),
		array(
			'id'                  => 'paystack',
			'title'               => __( 'Paystack', 'woocommerce' ),
			'content'             => __( 'Paystack helps African merchants accept one-time and recurring payments online with a modern, safe, and secure payment gateway.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/paystack.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/paystack.png',
			'plugins'             => array( 'woo-paystack' ),
			'is_visible'          => array(
				self::get_rules_for_countries( array( 'ZA', 'GH', 'NG' ) ),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array( 'ZA', 'GH', 'NG' ),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'payubiz',
			'title'               => __( 'PayU for WooCommerce', 'woocommerce' ),
			'content'             => __( 'Enable PayU’s exclusive plugin for WooCommerce to start accepting payments in 100+ payment methods available in India including credit cards, debit cards, UPI, & more!', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/payu.svg',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/payu.png',
			'plugins'             => array( 'payu-india' ),
			'is_visible'          => array(
				(object) array(
					'type'      => 'base_location_country',
					'value'     => 'IN',
					'operation' => '=',
				),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array( 'IN' ),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'ppcp-gateway',
			'title'               => __( 'PayPal Payments', 'woocommerce' ),
			'content'             => __( "Safe and secure payments using credit cards or your customer's PayPal account.", 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/paypal.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/paypal.png',
			'plugins'             => array( 'woocommerce-paypal-payments' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'US',
						'CA',
						'MX',
						'BR',
						'AR',
						'CL',
						'CO',
						'EC',
						'PE',
						'UY',
						'VE',
						'AT',
						'BE',
						'BG',
						'HR',
						'CH',
						'CY',
						'CZ',
						'DK',
						'EE',
						'ES',
						'FI',
						'FR',
						'DE',
						'GB',
						'GR',
						'HU',
						'IE',
						'IT',
						'LV',
						'LT',
						'LU',
						'MT',
						'NL',
						'NO',
						'PL',
						'PT',
						'RO',
						'SK',
						'SL',
						'SE',
						'AU',
						'NZ',
						'HK',
						'JP',
						'SG',
						'CN',
						'ID',
						'IN',
					)
				),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array(
				'US',
				'CA',
				'MX',
				'BR',
				'AR',
				'CL',
				'CO',
				'EC',
				'PE',
				'UY',
				'VE',
				'AT',
				'BE',
				'BG',
				'HR',
				'CH',
				'CY',
				'CZ',
				'DK',
				'EE',
				'ES',
				'FI',
				'FR',
				'DE',
				'GB',
				'GR',
				'HU',
				'IE',
				'IT',
				'LV',
				'LT',
				'LU',
				'MT',
				'NL',
				'NO',
				'PL',
				'PT',
				'RO',
				'SK',
				'SL',
				'SE',
				'AU',
				'NZ',
				'HK',
				'JP',
				'SG',
				'CN',
				'ID',
			),
			'category_additional' => array(
				'US',
				'CA',
				'ZA',
				'NG',
				'GH',
				'EC',
				'VE',
				'AR',
				'CL',
				'CO',
				'PE',
				'UY',
				'MX',
				'BR',
				'AT',
				'BE',
				'BG',
				'HR',
				'CH',
				'CY',
				'CZ',
				'DK',
				'EE',
				'ES',
				'FI',
				'FR',
				'DE',
				'GB',
				'GR',
				'HU',
				'IE',
				'IT',
				'LV',
				'LT',
				'LU',
				'MT',
				'NL',
				'NO',
				'PL',
				'PT',
				'RO',
				'SK',
				'SL',
				'SE',
				'AU',
				'NZ',
				'HK',
				'JP',
				'SG',
				'CN',
				'ID',
				'IN',
			),
		),
		array(
			'id'                  => 'razorpay',
			'title'               => __( 'Razorpay', 'woocommerce' ),
			'content'             => __( 'The official Razorpay extension for WooCommerce allows you to accept credit cards, debit cards, netbanking, wallet, and UPI payments.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/razorpay.svg',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/razorpay.png',
			'plugins'             => array( 'woo-razorpay' ),
			'is_visible'          => array(
				(object) array(
					'type'      => 'base_location_country',
					'value'     => 'IN',
					'operation' => '=',
				),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array( 'IN' ),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'square_credit_card',
			'title'               => __( 'Square', 'woocommerce' ),
			'content'             => __( 'Securely accept credit and debit cards with one low rate, no surprise fees (custom rates available). Sell online and in store and track sales and inventory in one place.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/square-black.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/square.png',
			'plugins'             => array( 'woocommerce-square' ),
			'is_visible'          => array(
				(object) array(
					'type'     => 'or',
					'operands' => (object) array(
						array(
							self::get_rules_for_countries( array( 'US' ) ),
							self::get_rules_for_cbd( true ),
						),
						array(
							self::get_rules_for_countries(
								array(
									'US',
									'CA',
									'IE',
									'ES',
									'FR',
									'GB',
									'AU',
									'JP',
								)
							),
							(object) array(
								'type'     => 'or',
								'operands' => (object) array(
									self::get_rules_for_selling_venues( array( 'brick-mortar', 'brick-mortar-other' ) ),
									self::get_rules_selling_offline(),
								),
							),
						),
					),
				),
			),
			'category_other'      => array(
				'US',
				'CA',
				'IE',
				'ES',
				'FR',
				'GB',
				'AU',
				'JP',
			),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'stripe',
			'title'               => __( ' Stripe', 'woocommerce' ),
			'content'             => __( 'Accept debit and credit cards in 135+ currencies, methods such as Alipay, and one-touch checkout with Apple Pay.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/stripe.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/stripe.png',
			'plugins'             => array( 'woocommerce-gateway-stripe' ),
			'is_visible'          => array(
				// https://stripe.com/global.
				self::get_rules_for_countries(
					array(
						'US',
						'CA',
						'MX',
						'BR',
						'AT',
						'BE',
						'BG',
						'CH',
						'CY',
						'CZ',
						'DK',
						'EE',
						'ES',
						'FI',
						'FR',
						'DE',
						'GB',
						'GR',
						'HU',
						'IE',
						'IT',
						'LV',
						'LT',
						'LU',
						'MT',
						'NL',
						'NO',
						'PL',
						'PT',
						'RO',
						'SK',
						'SL',
						'SE',
						'AU',
						'NZ',
						'HK',
						'JP',
						'SG',
						'ID',
						'IN',
					)
				),
				self::get_rules_for_cbd( false ),
			),
			'category_other'      => array(
				'US',
				'CA',
				'MX',
				'BR',
				'AT',
				'BE',
				'BG',
				'CH',
				'CY',
				'CZ',
				'DK',
				'EE',
				'ES',
				'FI',
				'FR',
				'DE',
				'GB',
				'GR',
				'HU',
				'IE',
				'IT',
				'LV',
				'LT',
				'LU',
				'MT',
				'NL',
				'NO',
				'PL',
				'PT',
				'RO',
				'SK',
				'SL',
				'SE',
				'AU',
				'NZ',
				'HK',
				'JP',
				'SG',
				'ID',
				'IN',
			),
			'category_additional' => array(),
		),
		array(
			'id'                  => 'woo-mercado-pago-custom',
			'title'               => __( 'Mercado Pago Checkout Pro & Custom', 'woocommerce' ),
			'content'             => __( 'Accept credit and debit cards, offline (cash or bank transfer) and logged-in payments with money in Mercado Pago. Safe and secure payments with the leading payment processor in LATAM.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/mercadopago.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/mercadopago.png',
			'plugins'             => array( 'woocommerce-mercadopago' ),
			'is_visible'          => array(
				self::get_rules_for_countries(
					array(
						'AR',
						'CL',
						'CO',
						'EC',
						'PE',
						'UY',
						'MX',
						'BR',
					)
				),
			),
			'is_local_partner'    => true,
			'category_other'      => array(
				'AR',
				'CL',
				'CO',
				'EC',
				'PE',
				'UY',
				'MX',
				'BR',
			),
			'category_additional' => array(),
		),
		// This is for backwards compatibility only (WC < 5.10.0-dev or WCA < 2.9.0-dev).
		array(
			'id'          => 'woocommerce_payments',
			'title'       => __( 'WooPayments', 'woocommerce' ),
			'content'     => __(
				'Manage transactions without leaving your WordPress Dashboard. Only with WooPayments.',
				'woocommerce'
			),
			'image'       => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
			'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
			'plugins'     => array( 'woocommerce-payments' ),
			'description' => __( 'With WooPayments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies. Track cash flow and manage recurring revenue directly from your store’s dashboard - with no setup costs or monthly fees.', 'woocommerce' ),
			'is_visible'  => array(
				self::get_rules_for_cbd( false ),
				self::get_rules_for_countries( self::get_wcpay_countries() ),
				(object) array(
					'type'     => 'plugin_version',
					'plugin'   => 'woocommerce',
					'version'  => '5.10.0-dev',
					'operator' => '<',
				),
				(object) array(
					'type'     => 'or',
					'operands' => (object) array(
						(object) array(
							'type'    => 'not',
							'operand' => array(
								(object) array(
									'type'    => 'plugins_activated',
									'plugins' => array( 'woocommerce-admin' ),
								),
							),
						),
						(object) array(
							'type'     => 'plugin_version',
							'plugin'   => 'woocommerce-admin',
							'version'  => '2.9.0-dev',
							'operator' => '<',
						),
					),
				),
			),
		),
		array(
			'id'          => 'woocommerce_payments:without-in-person-payments',
			'title'       => __( 'WooPayments', 'woocommerce' ),
			'content'     => __(
				'Manage transactions without leaving your WordPress Dashboard. Only with WooPayments.',
				'woocommerce'
			),
			'image'       => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
			'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
			'plugins'     => array( 'woocommerce-payments' ),
			'description' => __( 'With WooPayments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies. Track cash flow and manage recurring revenue directly from your store’s dashboard - with no setup costs or monthly fees.', 'woocommerce' ),
			'is_visible'  => array(
				self::get_rules_for_cbd( false ),
				self::get_rules_for_countries( array_diff( self::get_wcpay_countries(), array( 'US', 'CA' ) ) ),
				(object) array(
					'type'     => 'or',
					// Older versions of WooCommerce Admin require the ID to be `woocommerce-payments` to show the suggestion card.
					'operands' => (object) array(
						(object) array(
							'type'     => 'plugin_version',
							'plugin'   => 'woocommerce-admin',
							'version'  => '2.9.0-dev',
							'operator' => '>=',
						),
						(object) array(
							'type'     => 'plugin_version',
							'plugin'   => 'woocommerce',
							'version'  => '5.10.0-dev',
							'operator' => '>=',
						),
					),
				),
			),
		),
		// This is the same as the above, but with a different description for countries that support in-person payments such as US and CA.
		array(
			'id'          => 'woocommerce_payments:with-in-person-payments',
			'title'       => __( 'WooPayments', 'woocommerce' ),
			'content'     => __(
				'Manage transactions without leaving your WordPress Dashboard. Only with WooPayments.',
				'woocommerce'
			),
			'image'       => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
			'image_72x72' => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/wcpay.svg',
			'plugins'     => array( 'woocommerce-payments' ),
			'description' => __( 'With WooPayments, you can securely accept major cards, Apple Pay, and payments in over 100 currencies – with no setup costs or monthly fees – and you can now accept in-person payments with the Woo mobile app.', 'woocommerce' ),
			'is_visible'  => array(
				self::get_rules_for_cbd( false ),
				self::get_rules_for_countries( array( 'US', 'CA' ) ),
				(object) array(
					'type'     => 'or',
					// Older versions of WooCommerce Admin require the ID to be `woocommerce-payments` to show the suggestion card.
					'operands' => (object) array(
						(object) array(
							'type'     => 'plugin_version',
							'plugin'   => 'woocommerce-admin',
							'version'  => '2.9.0-dev',
							'operator' => '>=',
						),
						(object) array(
							'type'     => 'plugin_version',
							'plugin'   => 'woocommerce',
							'version'  => '5.10.0-dev',
							'operator' => '>=',
						),
					),
				),
			),
		),
		array(
			'id'                  => 'zipmoney',
			'title'               => __( 'Zip Co - Buy Now, Pay Later', 'woocommerce' ),
			'content'             => __( 'Give your customers the power to pay later, interest free and watch your sales grow.', 'woocommerce' ),
			'image'               => WC_ADMIN_IMAGES_FOLDER_URL . '/onboarding/zipco.png',
			'image_72x72'         => WC_ADMIN_IMAGES_FOLDER_URL . '/payment_methods/72x72/zipco.png',
			'plugins'             => array( 'zipmoney-payments-woocommerce' ),
			'is_visible'          => false,
			'category_other'      => array(),
			'category_additional' => array(),
		),
	);

	$base_location = wc_get_base_location();
	$country       = $base_location['country'];
	foreach ( $payment_gateways as $index => $payment_gateway ) {
		$payment_gateways[ $index ]['recommendation_priority'] = self::get_recommendation_priority( $payment_gateway['id'], $country );
	}

	return $payment_gateways;
}