瀏覽代碼

Add Stripe service

Amauri CHAMPEAUX 4 年之前
父節點
當前提交
6153b385f6
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      tarteaucitron.services.js

+ 14 - 0
tarteaucitron.services.js

@@ -956,6 +956,20 @@ tarteaucitron.services.simpleanalytics = {
     }
 };
 
+// stripe
+tarteaucitron.services.stripe = {
+    "key": "stripe",
+    "type": "api",
+    "name": "Stripe",
+    "uri": "https://stripe.com/cookies-policy/legal",
+    "needConsent": false,
+    "cookies": [],
+    "js": function () {
+        "use strict";
+        tarteaucitron.addScript('https://js.stripe.com/v3/');
+    }
+};
+
 // ferank pub
 tarteaucitron.services.ferankpub = {
     "key": "ferankpub",