@@ -23,7 +23,7 @@ export const PAYMENT_METHODS: Record<string, PaymentMethod> = {
2323 // Credit Card (with Component)
2424 CREDIT_CARD_SUCCESS : {
2525 id : 'monei' ,
26- name : 'Credit Card' ,
26+ name : 'Credit Card Success ' ,
2727 className : 'wc-monei-credit-card-payment-method' ,
2828 isApplicableToSubscription : true ,
2929 paymentProcessFunction : 'processCreditCardPayment' ,
@@ -37,14 +37,14 @@ export const PAYMENT_METHODS: Record<string, PaymentMethod> = {
3737 } ,
3838
3939 // Credit Card (with Redirect/Hosted)
40- CREDIT_CARD_HOSTED : {
40+ CREDIT_CARD_3DSECURE : {
4141 id : 'monei' ,
42- name : 'Credit Card (Hosted )' ,
42+ name : 'Credit Card (3DSecure )' ,
4343 className : 'wc-monei-credit-card-hosted-payment-method' ,
4444 isApplicableToSubscription : true ,
4545 paymentProcessFunction : 'processCreditCardHostedPayment' ,
4646 isHostedPayment : true ,
47- countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'UK ' ] , // Example countries
47+ countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'GB ' ] , // Example countries
4848 selector : {
4949 classic : 'input[name="payment_method"][value="monei"]' ,
5050 block : '.wc-block-components-radio-control__input[value="monei"]'
@@ -53,12 +53,12 @@ export const PAYMENT_METHODS: Record<string, PaymentMethod> = {
5353 } ,
5454 CREDIT_CARD_FAIL : {
5555 id : 'monei' ,
56- name : 'Credit Card (Hosted)' ,
56+ name : 'Credit Card (Hosted) fail ' ,
5757 className : 'wc-monei-credit-card-hosted-payment-method' ,
5858 isApplicableToSubscription : true ,
5959 paymentProcessFunction : 'processCreditCardHostedPayment' ,
6060 isHostedPayment : true ,
61- countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'UK ' ] , // Example countries
61+ countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'GB ' ] , // Example countries
6262 selector : {
6363 classic : 'input[name="payment_method"][value="monei"]' ,
6464 block : '.wc-block-components-radio-control__input[value="monei"]'
@@ -90,14 +90,13 @@ export const PAYMENT_METHODS: Record<string, PaymentMethod> = {
9090 isApplicableToSubscription : true ,
9191 paymentProcessFunction : 'processPayPalPayment' ,
9292 isHostedPayment : true ,
93- countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'UK ' , 'US' ] , // Example countries
93+ countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'GB ' , 'US' ] , // Example countries
9494 selector : {
9595 classic : 'input[name="payment_method"][value="monei_paypal"]' ,
9696 block : '.wc-block-components-radio-control__input[value="monei_paypal"]'
9797 } ,
9898 presetCredentials : 'success'
9999 } ,
100-
101100 // Apple Pay
102101 APPLE_PAY : {
103102 id : 'monei_apple_pay' ,
@@ -106,14 +105,13 @@ export const PAYMENT_METHODS: Record<string, PaymentMethod> = {
106105 isApplicableToSubscription : true ,
107106 paymentProcessFunction : 'processApplePayPayment' ,
108107 isHostedPayment : false ,
109- countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'UK ' , 'US' ] , // Example countries
108+ countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'GB ' , 'US' ] , // Example countries
110109 selector : {
111110 classic : 'input[name="payment_method"][value="monei_apple_pay"]' ,
112111 block : '.wc-block-components-radio-control__input[value="monei_apple_pay"]'
113112 } ,
114113 presetCredentials : 'success'
115114 } ,
116-
117115 // Google Pay
118116 GOOGLE_PAY : {
119117 id : 'monei_google_pay' ,
@@ -122,14 +120,13 @@ export const PAYMENT_METHODS: Record<string, PaymentMethod> = {
122120 isApplicableToSubscription : true ,
123121 paymentProcessFunction : 'processGooglePayPayment' ,
124122 isHostedPayment : false ,
125- countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'UK ' , 'US' ] , // Example countries
123+ countriesSupported : [ 'ES' , 'PT' , 'FR' , 'DE' , 'IT' , 'GB ' , 'US' ] , // Example countries
126124 selector : {
127- classic : 'input[name="payment_method"][value="monei_google_pay "]' ,
128- block : '.wc-block-components-radio-control__input[value="monei_google_pay "]'
125+ classic : 'input[name="payment_method"][value="monei_apple_google "]' ,
126+ block : '.wc-block-components-radio-control__input[value="monei_apple_google "]'
129127 } ,
130128 presetCredentials : 'success'
131129 } ,
132-
133130 // Multibanco
134131 MULTIBANCO : {
135132 id : 'monei_multibanco' ,
@@ -145,7 +142,6 @@ export const PAYMENT_METHODS: Record<string, PaymentMethod> = {
145142 } ,
146143 presetCredentials : 'success'
147144 } ,
148-
149145 // MBWay
150146 MBWAY : {
151147 id : 'monei_mbway' ,
0 commit comments