#Harena It Llc
1 messages ยท Page 1 of 1 (latest)
Hi we can only assist with the Stripe API in here. If this is directly related to the Stripe API part of your code we can help, but there's not much we can help with in respect to writing to your database
Yes, i want to insert data from a checkout.completed event to my database. For this I use the stripe library for php. I crated and connected my webhook but when I do the insert and looking into my database, nothing happened. the response code 200
Can you share the code?
But that doesn't sound like a stripe issue
We have nothing to do with your database
The thing is that i doesn't throw any error
Then my first recommendation would be to add some logging to ensure you are getting the results you expect. First verify that the Checkout Session is being successfully returned as well as the Customer. Then ensure the $values variable has the data you expect. If all that is working as expected then I think you'd need to examine what is going on when you attempt to write to the DB.
Ok i'lltry this