PluginProbe
PayPlug for WooCommerce (Official) / 2.10.0
PayPlug for WooCommerce (Official) v2.10.0
3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 All 101 releases
payplug / blocks / js / frontend / blocks.js

blocks.js in PayPlug for WooCommerce (Official) 2.10.0, at blocks/js/frontend/blocks.js

1 lines 751 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (()=>{"use strict";const e=window.wp.element,t=window.wp.i18n,n=window.wc.wcBlocksRegistry,a=window.wp.htmlEntities,l=(0,window.wc.wcSettings.getSetting)("apple_pay_data",{}),p=(0,t.__)("Pay With Apple Pay","woo-gutenberg-products-block"),o=(0,a.decodeEntities)(l.title)||p,c=()=>{let t=l.local;return(0,e.createElement)("div",{id:"apple-pay-button-wrapper"},(0,e.createElement)("apple-pay-button",{buttonstyle:"black",type:"pay",locale:t}))},r={name:"apple_pay",label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components;return(0,e.createElement)(n,{text:o})}),null),content:(0,e.createElement)(c,null),edit:(0,e.createElement)(c,null),canMakePayment:()=>!0,ariaLabel:o,supports:{features:l.supports}};(0,n.registerPaymentMethod)(r)})();