Skip to content

Commit

Permalink
Fix using Mollie client from pronamic/wp-mollie.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Dec 19, 2022
1 parent d367ca0 commit dc21b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/subscription-mandate.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
return;
}

if ( ! class_exists( '\Pronamic\WordPress\Pay\Gateways\Mollie\Client' ) ) {
if ( ! class_exists( '\Pronamic\WordPress\Mollie\Client' ) ) {
return;
}

Expand All @@ -33,7 +33,7 @@

$api_key = \get_post_meta( $subscription->config_id, '_pronamic_gateway_mollie_api_key', true );

$client = new \Pronamic\WordPress\Pay\Gateways\Mollie\Client( $api_key );
$client = new \Pronamic\WordPress\Mollie\Client( $api_key );

/**
* Mandates.
Expand Down

0 comments on commit dc21b2a

Please sign in to comment.