Fix typo in ideal payment method register

This commit is contained in:
Emili Castells Guasch 2024-08-21 14:34:55 +02:00
parent 6dee62747c
commit 2350a87f6c
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
import { registerPaymentMethod } from '@woocommerce/blocks-registry';
import { IDeal } from './ideal-block';
const config = wc.wcSettings.getSetting( 'ppcp-eps_data' );
const config = wc.wcSettings.getSetting( 'ppcp-ideal_data' );
registerPaymentMethod( {
name: config.id,

View file

@ -91,6 +91,7 @@ class LocalAlternativePaymentMethodsModule implements ModuleInterface {
foreach ($payment_methods as $key => $value) {
$payment_method_registry->register( $c->get( 'ppcp-local-apms.' . $key . '.payment-method' ) );
}
$a = 1;
}
);