mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Fix typo in ideal payment method register
This commit is contained in:
parent
6dee62747c
commit
2350a87f6c
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue