canShowFields() ) { // Show Credit Card Fields. echo \Give\Helpers\Gateways\Stripe::showCreditCardFields( $idPrefix ); /** * This action hook is used to display content after the Credit Card expiration field. * * Note: Kept this hook as it is. * * @since 2.5.0 * * @param int $form_id Donation Form ID. * @param array $args List of additional arguments. */ do_action( 'give_after_cc_expiration', $form_id, $args ); /** * This action hook is used to display content after the Credit Card expiration field. * * @since 2.5.0 * * @param int $form_id Donation Form ID. * @param array $args List of additional arguments. */ do_action( 'give_stripe_after_cc_expiration', $form_id, $args ); } ?>
%1$s %2$s', esc_html__( 'Notice:', 'give' ), $this->errorMessages['accountNotConfiguredNoSsl'] ) ); $status = false; } elseif ( ! $isConfigured ) { // Account not configured scenario. Give_Notices::print_frontend_notice( sprintf( '%1$s %2$s', esc_html__( 'Notice:', 'give' ), $this->errorMessages['accountNotConfigured'] ) ); $status = false; } elseif ( ! $isTestMode && ! $isSslActive ) { // Account configured, No SSL scenario. Give_Notices::print_frontend_notice( sprintf( '%1$s %2$s', esc_html__( 'Notice:', 'give' ), $this->errorMessages['accountConfiguredNoSsl'] ) ); $status = false; } return $status; } }