stripe/stripe-ruby

uninitialized constant Stripe::PaymentLink (NameError)

haor1 opened this issue · 1 comments

haor1 commented

ruby 2.7.4p191
Stripe.api_version = '2020-08-27'
stripe 5.42.0

I am trying to create a PaymentLink via the API and I get the error message: uninitialized constant Stripe::PaymentLink (NameError)

I know this feature is relatively new, so is it not fully ready yet?

@haor1 you are on 5.42.0 and the PaymentLinks API was added on 5.43.0 which you can see in the changelog here. If you upgrade it will work as expected.