Skip to content

Commit

Permalink
Change $payment->get_issuer() to $payment->get_meta( 'issuer' ).
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Oct 5, 2021
1 parent ed2bf2b commit b3ff46a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gateway.php
Expand Up @@ -220,7 +220,7 @@ public function start( Payment $payment ) {
case PaymentMethods::IDEAL:
$transaction->gateway = Methods::IDEAL;

$issuer = $payment->get_issuer();
$issuer = $payment->get_meta( 'issuer' );

if ( empty( $issuer ) ) {
$message = new RedirectTransactionRequestMessage( $merchant, $customer, $transaction );
Expand All @@ -236,7 +236,7 @@ public function start( Payment $payment ) {
case PaymentMethods::CREDIT_CARD:
$gateway = Methods::transform( $payment_method );

$issuer = $payment->get_issuer();
$issuer = $payment->get_meta( 'issuer' );

if ( empty( $issuer ) ) {
if ( $gateway ) {
Expand Down

0 comments on commit b3ff46a

Please sign in to comment.