Skip to content

Commit

Permalink
Update Stripe Version API
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ptibogxiv committed Nov 1, 2018
1 parent 970f501 commit a46f29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/stripe/config.php
Expand Up @@ -55,4 +55,4 @@

\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

0 comments on commit a46f29c

Please sign in to comment.