فهرست منبع

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",