#jimmiller-ruby-webhook

1 messages · Page 1 of 1 (latest)

maiden vault
#

hello

#

(let me read through)

red sparrow
#

thank you!!

maiden vault
#

that's a lot of code

red sparrow
#

I know

maiden vault
#

what's your issue exactly? did you add clear logs to what you receive, what the event looks like, how you parse it, etc.

red sparrow
#

To my gist I added the rails log files at the end. Everything seems to have processed on the stripe side fine. I have this in the Job I am running:
reservation.update(status: :booked, stripe_payment_intent_id: checkout_session.payment_intent)

#

perhaps this is more of a Rails issue since Stripe is coming back with a 200

maiden vault
#

yeah I just don't really get the ask

#

is the problem that :stripe_payment_intent_id => nil is nil?

#

If so, did you log the raw event you are processing?

red sparrow
#

I have it logged in Rails but I am not seeing the issue. The :stripe_payment_indent_id is event.data.object.payment_intent which has been successfully created but its not saving locally with the Webhook. I'm guessing its something in the rails code that I am not seeing

maiden vault
#

I don't get it. The log clearly shows it null, but you say it's there?