Replies: 1 comment 1 reply
-
You can either supply the subscription item ID or you can sync the subscription (as noted in the upgrade guide) so it has access to all the subscription_items. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In our app we have a line like this that works fine for v9:
However, with the v10 upgrade, it seems to fail. When I read the code, I saw that there is a check for
subscription_items
. It seems requireobject
to be present as it first follows like:pay/app/models/pay/stripe/subscription.rb
Lines 309 to 311 in fdfc73e
and from there
pay/app/models/pay/stripe/subscription.rb
Lines 134 to 136 in fdfc73e
Since my
pay_subscription
table does not have anyobject
s, it fails. Do I have to do something that is not listed on the upgrade.md or am I missing something here?I haven't checked yet, I guess the same question might apply to
pay_charges
&pay_customers
since they got the newobject
column too.Beta Was this translation helpful? Give feedback.
All reactions