Hi, I’m having the same problem as you had can you help me out?
Sure, no problem.
There were a couple of different parts to it. I’m not sure how far along you are with it all. But here’s what I did:
WooCommerce > Settings > Payments > Stripe credit cards > API Settings
You’ll be able to hook up your Stripe account. There’s a Webhook url that you’ll need to copy for the next step.
https://yourwebsite.co.uk/wp-json/wc-stripe/v1/webhook
Head over to Stripe, make sure you’re in the right mode for your needs (Live or Test) and go to:
Developers > Webhooks > Add endpoint
Your endpoint URL is that webhook url from above, the one you copied from WoooCommerce.
Select events and add only the following events:
source.chargeable
charge.succeeded
charge.failed
payment_intent.succeeded
charge.refunded
Click add endpoint.
Head back over to WooCommerce:
WooCommerce > Settings > Payments > Stripe credit cards > Local Gateways > Klarna
Make sure it’s enabled.
You should be able to see transactions going through your Stripe account now. You can head back to the webhook to see what events it has tracked.
Let me know if you need any more help
Hi,
you explained that really well and I already love this plugin, the only problem is that people always recommend different events for the webhooks. My store is really small. Can I just add all events?
Thank you
Best
Lorenzo
Hi Lorenzo,
Sorry, I wasn’t keeping an eye on this.
I’m not the plugin author so I couldn’t speak with any authority on the events, however I think the main reason it didn’t work for me was because I didn’t include all of those events listed above – I only added a couple.
I don’t know if you can add all events, but I’d say it’s worth a shot. Just don’t miss those ones is what I should have said in hindsight.