diff --git a/classes/helpers/FrmAppHelper.php b/classes/helpers/FrmAppHelper.php index c5ba9c95e3..0ce6299890 100644 --- a/classes/helpers/FrmAppHelper.php +++ b/classes/helpers/FrmAppHelper.php @@ -4054,8 +4054,12 @@ private static function add_form_builder_modal_data( &$admin_script_strings ) { $gateway_texts['square'] = esc_html__( 'Square', 'formidable' ); } + if ( $paypal_connected ) { + $gateway_texts['paypal'] = esc_html__( 'PayPal', 'formidable' ); + } + $admin_script_strings['pricingFieldsModal']['msg'] = sprintf( - // translators: %s: Stripe or Square. + // translators: %s: Stripe, Square, or PayPal. esc_html__( 'You already have %s connected, so these have already been unlocked.', 'formidable' ), esc_html( implode( ' ' . esc_html__( 'and', 'formidable' ) . ' ', $gateway_texts ) ) ); @@ -4064,7 +4068,7 @@ private static function add_form_builder_modal_data( &$admin_script_strings ) { $admin_script_strings['pricingFieldsModal']['actionText'] = __( 'Setup Payments Now', 'formidable' ); $admin_script_strings['pricingFieldsModal']['actionUrl'] = $payments_settings_url; // phpcs:ignore SlevomatCodingStandard.Files.LineLength.LineTooLong - $admin_script_strings['pricingFieldsModal']['msg'] = __( 'We\'ve unlocked Product, Quantity, and Total fields for Lite users! You can now transform your forms into checkout pages. To start collecting revenue, simply connect your preferred payment gateway (Stripe, or Square) in your settings.', 'formidable' ); + $admin_script_strings['pricingFieldsModal']['msg'] = __( 'We\'ve unlocked Product, Quantity, and Total fields for Lite users! You can now transform your forms into checkout pages. To start collecting revenue, simply connect your preferred payment gateway (Stripe, Square, or PayPal) in your settings.', 'formidable' ); }//end if delete_option( 'frm_show_pricing_fields_modal' );