Is the customer.subscription.updated event raised when a subscription is renewed?

I’ve verified that customer.subscription.updated is called when the billing period ends. To do this I intercepted all webhooks that occur at the end of the period (FYI: I used an AWS Lambda function that receives the events from an AWS API Gateway, then puts the events on an SQS queue :)) I agree that the … Read more

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

Github push event signature don’t match

The default encoding of Crypto hash.update() is binary as detailed in the answer to Node JS crypto, cannot create hmac on chars with accents. This causes a problem in your push-event payload, which contains the character U+00E1 LATIN SMALL LETTER A WITH ACUTE in Hernández four times, and GitHub services is hashing the payload as … Read more

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