docs: documentation updates for v1.20 (#6031)

* docs: documentation updates for v1.20

* fix stripe upgrade guide

* fixed vale error

* fix eslint errors

* change stripe environment variables to options
This commit is contained in:
Shahed Nasser
2024-01-09 20:07:24 +02:00
committed by GitHub
parent 9fda1e63c1
commit 13f12e1953
6 changed files with 139 additions and 2 deletions

View File

@@ -80,6 +80,8 @@ Other optional options include:
- `payment_description`: a string that is used as the default description of a payment if none is provided.
- `capture`: a boolean value that indicates whether payment should be captured manually or automatically. By default, it will be `false`, leading admins to capture the payment manually.
- `automatic_payment_methods`: a boolean value that enables Stripe's automatic payment methods. This is useful if you're integrating services like Apple pay or Google pay.
- `webhook_delay`: a number indicating the delay in milliseconds before processing the webhook event. By default, it's `5000` (five seconds).
- `webhook_retries`: The number of times to retry the webhook event processing in case of an error. By default, it's `3`.
### Retrieve Stripe's Keys