Create pay_subscriptions for subscriptions created outside the Pay gem
#1227
Answered
by
excid3
StevenClontz
asked this question in
Q&A
-
|
I've migrated from a home-cooked Stripe gem integration to using the Pay gem. How can I add our existing Stripe subscriptions to the Pay::Stripe::Subscription model? |
Beta Was this translation helpful? Give feedback.
Answered by
excid3
Apr 17, 2026
Replies: 1 comment 1 reply
-
|
You can create the Pay::Stripe::Customer records and associate them with your users. These records have a method to sync the subscriptions from Stripe once they're created: pay/app/models/pay/stripe/customer.rb Line 151 in 774dc5a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
StevenClontz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can create the Pay::Stripe::Customer records and associate them with your users. These records have a method to sync the subscriptions from Stripe once they're created:
pay/app/models/pay/stripe/customer.rb
Line 151 in 774dc5a