-
Hi, love pay-rails makes life much easier! Was just wondering if its possible to have pay rails work with devise users with UUIDs? Specifically, I just need to use stripe checkout, if that is of any use. I played around with changing the migration with,
but undefined local variable or method `root_url' for #<Pay::Stripe::Billable:0x00007fc7b4628698 @pay_customer=#<Pay::Customer id: "10b4f6e8-b0d7-4c62-b9c5-9fd7c86938a1", owner_type: "User", owner_id: "534d4a8b-4c3f-4739-8e46-16d88a45bea8", processor: "stripe", processor_id: "cus_LYRWPZz3yMPUZF", default: true, data: {}, deleted_at: nil, created_at: "2022-04-22 13:26:30.190031000 +0200", updated_at: "2022-04-22 13:26:30.730393000 +0200", plan: nil, quantity: nil, payment_method_token: nil>> Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
UPDATE The issue was with the application root in routes.rb Just setting :owner, type: :uuid seems to work 👍 |
Beta Was this translation helpful? Give feedback.
UPDATE
The issue was with the application root in routes.rb
Just setting :owner, type: :uuid seems to work 👍