Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Gabotronix's avatar

Stripe CLI sends webhooks with fake data, how am I supossed to test my integration

Hi everybody, I'm working on a website with Stripe payments, it's europe based so I'll have to deal with SCA 3D Secure auth, stripe docs recommend me to deal with payment fulfillement asynchronously instead of waiting for confirmCardPayment promise to resolve, to accomplish this you have to use webhooks.

Something I noticed is webhooks send fake data in events, if data is fake how am I supossed to actually test my integration? order fulfilment in database, other database operations, sending email with order info...

Am I missing something?

0 likes
4 replies
Gabotronix's avatar

where can I check that, I test in my local windows machine, localhost, http and using stripe cli to fire events like payment.succeded

automica's avatar

@gabotronix you'll have a different set of access keys for stripe API if you are in developer mode.

Your stripe keys should be called pk_test_* and sk_test_* if you are connected to stripe development environment.

Please or to participate in this conversation.