From d50a95c89b49e8491bf744a3331df46f0bf3296f Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Wed, 1 Aug 2018 11:40:12 +0200 Subject: [PATCH 1/2] update to straipe cf https://stripe.com/docs/building-plugins#setappinfo --- htdocs/stripe/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/stripe/config.php b/htdocs/stripe/config.php index c61de994874..2e7447a6e5f 100644 --- a/htdocs/stripe/config.php +++ b/htdocs/stripe/config.php @@ -54,4 +54,4 @@ else } \Stripe\Stripe::setApiKey($stripearrayofkeys['secret_key']); -\Stripe\Stripe::setAppInfo("Stripe", DOL_VERSION, "https://www.dolibarr.org"); // add dolibarr version +\Stripe\Stripe::setAppInfo("Dolibarr Stripe", DOL_VERSION, "https://www.dolibarr.org"); // add dolibarr version From 40b19b8e1d3ee0ccaa9cc8a7fe36459678be017f Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Wed, 1 Aug 2018 11:50:43 +0200 Subject: [PATCH 2/2] update to Stripe Requirements and Best Practices cf https://stripe.com/docs/partners/requirements --- htdocs/stripe/config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/stripe/config.php b/htdocs/stripe/config.php index 2e7447a6e5f..7aa22678d7a 100644 --- a/htdocs/stripe/config.php +++ b/htdocs/stripe/config.php @@ -55,3 +55,4 @@ else \Stripe\Stripe::setApiKey($stripearrayofkeys['secret_key']); \Stripe\Stripe::setAppInfo("Dolibarr Stripe", DOL_VERSION, "https://www.dolibarr.org"); // add dolibarr version +\Stripe\Stripe::setApiVersion("2018-07-27"); // force version API