Stripe Webhook triggering multiple times #674
Unanswered
EsotericCoder
asked this question in
Q&A
Replies: 1 comment
-
Check the status of your booking and skip it if it's completed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I configured Pay::Webhooks.delegator.subscribe "stripe.checkout.session.completed", BookingCompleted.new
The issue is this is triggering at least four times. What is the best way to only account for it once.
class BookingCompleted
def call(event)
object = event.data.object
end
end
Beta Was this translation helpful? Give feedback.
All reactions