Events Made Easy › Forums › How do I … › Stripe payment gateway
Tagged: payment gateway
- This topic has 7 replies, 2 voices, and was last updated 3 years, 8 months ago by Franky.
-
AuthorPosts
-
Mon 29 Mar 2021 at 14:14 #62436AnonymousInactive
Hi
I am trying to setup stripe but have hit an issue with the webhooks.I am in test mode at present so have put the test keys into the gateway. I have also added the url for payment notifications https://kmrc.club/events/?eme_eventAction=stripe_notification into stripe webhook section.
The test payment goes through ok but the webhooks does not work
Should this work in test mode or only when live?
I have setup a woocommerce shop on the same site and the webhooks work ok when in test mode to stripe.
Any advice will be much appreciated
Carl
Mon 29 Mar 2021 at 15:27 #62437FrankyKeymasterYou don’t need to specify the hook in stripe, EME adds it when saving your stripe options (and it needs to be done by EME because the webhook “secret” is needed later on to verify the notification actually came from Stripe). It is just added as a reference and also so you can check your webserver logs if the hook is being called by Stripe.
In my tests this worked fine, did you test using a payment? Or another method?Mon 29 Mar 2021 at 15:43 #62438AnonymousInactiveHi I have just tested with live keys and payment, i can see the booking has become approved so that part must be working, Only issue i can then see is that in the stripe console under payments the transaction description is in this format pi_1IaL9gD82NSxEnoQtcpv1vQc instead of the event description. In woocommerce the order tilte is displayed should this be the same for EME or am i thinking incorrectly
Mon 29 Mar 2021 at 17:35 #62439FrankyKeymasterIt seems indeed that stripe no longer takes the description (code for stripe hasn’t changed in EME), while in the session details you see the description being passed. Probably I should switch to the stripe charge API and not their checkout API for this to work again. But next to that: you can always check your webserver logfiles to verify stripe “phoned home” with the notification url.
Mon 29 Mar 2021 at 18:23 #62440AnonymousInactiveYes its tried to phone home. I will use it for now as its still far better payment provider than what i have been using. Just makes tying up the booking to the payment a bit harder in stripe .
Hopefully you will update it in the future.Thanks for the continued support
Carl
Mon 29 Mar 2021 at 22:42 #62442FrankyKeymasterI’ve found the stripe issue with the payment description, I’ll update that for the next version too 🙂
Mon 29 Mar 2021 at 23:01 #62444AnonymousInactiveBrilliant news, thanks for updating me.
Mon 29 Mar 2021 at 23:11 #62446FrankyKeymasterAlso the code has been updated to allow refunding via Stripe too. Maybe the description can use the booking id as extra, but that’s for later.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.