PluginProbe
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 4.6.5
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v4.6.5
4.7.2 4.7.1 4.7.0 4.6.6 4.6.5 4.6.4 4.6.3 4.6.2 4.6.1 4.6.0 4.5.1 4.5.0 4.4.2 4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 1.0.3 1.0.4 1.0.5 All 281 releases
surecart / dist / components / cjs / MockProcessor-ad11752f.js
MockProcessor-ad11752f.js
3 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 "use strict";const index=require("./index-be4abba1.js"),ManualPaymentMethods=({methods:e})=>(e||[]).map((e=>index.h("sc-payment-method-choice",{"is-manual":!0,"processor-id":null==e?void 0:e.id},index.h("span",{slot:"summary"},null==e?void 0:e.name),index.h("sc-card",null,index.h("sc-payment-selected",{label:wp.i18n.sprintf(
2 // translators: Manual payment method.
3 wp.i18n.__("%s selected for check out.","surecart"),null==e?void 0:e.name)},index.h("div",{innerHTML:null==e?void 0:e.description})))))),MockProcessor=({processor:e})=>(null==e?void 0:e.id)?index.h("sc-payment-method-choice",{key:null==e?void 0:e.id,"processor-id":"mock"},index.h("span",{slot:"summary",class:"sc-payment-toggle-summary"},index.h("sc-icon",{name:"credit-card",style:{fontSize:"24px"},"aria-hidden":"true"}),index.h("span",null,wp.i18n.__("Test Processor","surecart"))),index.h("sc-card",null,index.h("sc-payment-selected",{label:wp.i18n.__("Test processor selected for check out.","surecart")},index.h("sc-icon",{slot:"icon",name:"credit-card","aria-hidden":"true"}),wp.i18n.__("This is a test payment processor used to simulate test transactions. It is only available in test mode.","surecart")))):null;exports.ManualPaymentMethods=ManualPaymentMethods,exports.MockProcessor=MockProcessor;