From 4c48fcd6109c153b35b034cc7474e9811f1a58ed Mon Sep 17 00:00:00 2001 From: nurbek Date: Fri, 15 Oct 2021 01:46:56 +0600 Subject: [PATCH 1/2] Add Postpay / buy now pay later --- .../webextension/images/icons/Postpay.svg | 3 +++ src/technologies/p.json | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 src/drivers/webextension/images/icons/Postpay.svg diff --git a/src/drivers/webextension/images/icons/Postpay.svg b/src/drivers/webextension/images/icons/Postpay.svg new file mode 100644 index 000000000..974d2823c --- /dev/null +++ b/src/drivers/webextension/images/icons/Postpay.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/technologies/p.json b/src/technologies/p.json index c60f868a2..a8a0b7d95 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -1301,6 +1301,24 @@ "icon": "PostgreSQL.png", "website": "http://www.postgresql.org/" }, + "Postpay": { + "cats": [ + 91 + ], + "description": "Postpay is a payment solution that allows you to split your purchase amount into instalments", + "icon": "Postpay.svg", + "js": { + "PostpayJsConfig": "", + "postpay": "", + "wc_postpay_init_params": "" + }, + "pricing": [ + "payg" + ], + "saas": true, + "scripts": "cdn\\.postpay\\.io/(?:.+\\?ver=([\\d\\.]+))?\\;version:\\1", + "website": "https://postpay.io" + }, "Postscript": { "cats": [ 32 From 839dc144274f254396f6f7623f9109da24eb17f6 Mon Sep 17 00:00:00 2001 From: nurbek Date: Fri, 15 Oct 2021 01:49:34 +0600 Subject: [PATCH 2/2] fix confidence, fix desc --- src/technologies/p.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/technologies/p.json b/src/technologies/p.json index a8a0b7d95..cc8a1cd1d 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -1305,12 +1305,12 @@ "cats": [ 91 ], - "description": "Postpay is a payment solution that allows you to split your purchase amount into instalments", + "description": "Postpay is a payment solution that allows you to split your purchase amount into instalments.", "icon": "Postpay.svg", "js": { - "PostpayJsConfig": "", - "postpay": "", - "wc_postpay_init_params": "" + "PostpayJsConfig": "\\;confidence:50", + "postpay": "\\;confidence:25", + "wc_postpay_init_params": "\\;confidence:25" }, "pricing": [ "payg"