File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 6767 background-image : url ( '../images/cards/visa.svg' );
6868}
6969
70+ .payment-method__brand--alipay {
71+ background-image : url ( '../images/payment-methods/alipay-logo.svg' );
72+ }
73+
7074.payment-method__brand--cartes_bancaires {
7175 background-image : url ( '../images/cards/cartes_bancaires.svg' );
7276}
135139 background-image : url ( '../images/payment-methods/klarna.svg' );
136140}
137141
142+ .payment-method__brand--grabpay {
143+ background-image : url ( '../images/payment-methods/grabpay.svg' );
144+ }
145+
146+ .payment-method__brand--wechat_pay {
147+ background-image : url ( '../images/payment-methods/wechat-pay.svg' );
148+ }
149+
138150.wc_gateways tr [data-gateway_id = 'woocommerce_payments' ] .payment-method__icon {
139151 border : 1px solid # ddd ;
140152 border-radius : 2px ;
Original file line number Diff line number Diff line change @@ -207,8 +207,6 @@ export default class WCPayAPI {
207207 } ) ;
208208 } ;
209209
210- const isChangingPayment = getConfig ( 'isChangingPayment' ) ;
211-
212210 return (
213211 confirmPaymentOrSetup ( )
214212 // ToDo: Switch to an async function once it works with webpack.
@@ -228,6 +226,8 @@ export default class WCPayAPI {
228226 getExpressCheckoutConfig ( 'ajax_url' ) ??
229227 getConfig ( 'ajaxUrl' ) ;
230228
229+ const isChangingPayment = getConfig ( 'isChangingPayment' ) ;
230+
231231 const ajaxCall = this . request ( ajaxUrl , {
232232 action : 'update_order_status' ,
233233 order_id : orderId ,
You can’t perform that action at this time.
0 commit comments