Stripe Webhook events Renewal of subscription

The webhook ‘invoice.payment_succeeded’ actually does distinguish between the first charge of a new subscription and subsequent renewal charges. The webhook sends an invoice object, which includes ‘billing_reason’ – the possible values of which are noted in the Stripe Docs – The Invoice object: billing_reason (string) “Indicates the reason why the invoice was created. subscription_cycle indicates … Read more

Non-English texts in Stripe possible?

For further reference: While you can’t use human messages on stripe errors to be displayed directly on localized pages, you can take advantage of response.error.code to provide your own translations. var errorMessages = { incorrect_number: “The card number is incorrect.”, invalid_number: “The card number is not a valid credit card number.”, invalid_expiry_month: “The card’s expiration … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)