diff --git a/src/Extension.php b/src/Extension.php index 6e7ba34..030465b 100644 --- a/src/Extension.php +++ b/src/Extension.php @@ -404,7 +404,7 @@ public function redirect_for_payment( $entry_id, $form_id ) { } if ( empty( $payment->method ) ) { - if ( null !== $data->get_issuer_id() ) { + if ( null !== FormidableFormsHelper::get_issuer_from_form_entry( $form_id, $entry ) ) { $payment->method = PaymentMethods::IDEAL; } elseif ( $gateway->payment_method_is_required() ) { $payment->method = PaymentMethods::IDEAL;