Recent Posts

Caution: Greetings to all visitors. The site is working in short. Links Please skip the link to view any topic and thank you for visiting
header ads

Stripe webhook: can get event ID but not type

In my webhook when I put $event_id = $event_json->id; I get the event id (example: id:evt_1EJ1NdIcP22cq9aQWsTXf8DY).

However, when I put $event_type = $event_json->type; I am expecting to get charge.succeeded or charge.failed, instead I am getting customer.source.created.

I've searched the internet up and down, can't find the answer. What should I use to get what type of charge it was (charge.succeeded or charge.failed). Maybe someone can help me solve...

Stripe webhook: can get event ID but not type

from PHP https://ift.tt/2FJNeSo
via IFTTT

Post a Comment

0 Comments