From a46f29cb98264ff5824664e9f7c739e63750c4cc Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Thu, 1 Nov 2018 12:02:36 +0100 Subject: [PATCH 1/2] Update Stripe Version API The description field on customer endpoints has a maximum character length limit of 350 now. The name field on product endpoints has a maximum character length limit of 250 now. The description field on invoice line items has a maximum character length limit of 500 now. The billing_reason attribute of the invoice object now can take the value of subscription_create, indicating that it is the first invoice of a subscription. For older API versions, billing_reason=subscription_create is represented as subscription_update. --- 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 6141c2a32f8..b348b9752c3 100644 --- a/htdocs/stripe/config.php +++ b/htdocs/stripe/config.php @@ -55,4 +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-09-24"); // force version API +\Stripe\Stripe::setApiVersion("2018-10-31"); // force version API From 20a3dd86cdd1477f65fffe6de702ac4d2df80e85 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sat, 10 Nov 2018 11:07:01 +0100 Subject: [PATCH 2/2] 2018-11-08 no change for dolibarr but better for integration and development --- 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 b348b9752c3..cea97efe0a3 100644 --- a/htdocs/stripe/config.php +++ b/htdocs/stripe/config.php @@ -55,4 +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-10-31"); // force version API +\Stripe\Stripe::setApiVersion("2018-11-08"); // force version API