diff --git a/modules/ppcp-blocks/resources/js/Components/card-fields.js b/modules/ppcp-blocks/resources/js/Components/card-fields.js
index 2726bc12e..05d41b315 100644
--- a/modules/ppcp-blocks/resources/js/Components/card-fields.js
+++ b/modules/ppcp-blocks/resources/js/Components/card-fields.js
@@ -19,11 +19,9 @@ export function CardFields( {
config,
eventRegistration,
emitResponse,
- components,
} ) {
const { onPaymentSetup } = eventRegistration;
const { responseTypes } = emitResponse;
- const { PaymentMethodIcons } = components;
const [ cardFieldsForm, setCardFieldsForm ] = useState();
const getCardFieldsForm = ( cardFieldsForm ) => {
@@ -95,10 +93,6 @@ export function CardFields( {
} }
>
-
,
- content: ,
- edit: ,
- ariaLabel: config.title,
- canMakePayment: () => {
- return true;
- },
- supports: {
- showSavedCards: true,
- features: config.supports,
- },
-} );
+const Label = ({components, config}) => {
+ const {PaymentMethodIcons} = components;
+ return <>
+
+
+ >
+}
+
+registerPaymentMethod({
+ name: config.id,
+ label: