How to add a description to a charge triggered by a subscription of Direct Stripe WordPress plugin plugin
First steps from your Stripe dashboard
Log in the Stripe Dashboard
Add a webhook endpoint in Developers -> Webhooks -> ( Add endpoint ) button
- Url to be called => the URL of the website which uses a Direct Stripe button + /wp-json/direct-stripe/v1/subscription-charge-succeeded which gives https://you-domain.ext/wp-json/direct-stripe/v1/subscription-charge-succeeded
- Click "Select types to send" and select "invoice.payment_succeeded"
- Click the Add endpoint button