Episodes
Tom Murdoch said over 1 year ago on Stripe Payments :
I'm getting an error on the webhook return;

Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.5ms)


  
NoMethodError (undefined method `list_line_items' for Stripe::Checkout::Session:Class):
  
app/models/payment_received.rb:39:in `line_items'
app/models/payment_received.rb:32:in `complete_purchase'
app/models/payment_received.rb:14:in `call'
app/models/payment_received.rb:3:in `call'
config/initializers/stripe.rb:11:in `block (2 levels) in <top (required)>

David Kimura PRO said over 1 year ago on Stripe Payments :
  Tom Murdoch What version of the Stripe gem are you using? I  used this version in the episode

stripe (5.25.0)

From the CHANGELOG, it looks like this was added in

5.16.0 - 2020-02-26
#906 Add support for listing Checkout sessions

jhausotter PRO said over 1 year ago on Stripe Payments :
What if we just want guest only checkout?

Login to Comment