import { registerPaymentMethod } from '@woocommerce/blocks-registry'; import { CardFields } from './Components/card-fields'; const config = wc.wcSettings.getSetting( 'ppcp-credit-card-gateway_data' ); registerPaymentMethod( { name: config.id, label:
, content: