Closed anbugge closed 7 months ago
Let's take this offline, emailing you.
There's a bug with the reactivation, reopening as such.
+1 facing this bug to renew a subscritpion
@brunofracalossi email me and I'll fix it by hand, dblock at vestris dot com
This will also happen if your subscription expired. If anyone is facing this issue with a hosted bot on playplay.io, please email me dblock at vestris dot com.
Fixing manually.
team = Team.where(...)
team.active = true
team.subscribed = true
team.save!
subscription_info = []
if team.stripe_subcriptions&.any?
subscription_info << team.stripe_customer_text
subscription_info.concat(team.stripe_customer_subscriptions_info)
subscription_info.concat(team.stripe_customer_invoices_info)
subscription_info.concat(team.stripe_customer_sources_info)
subscription_info << team.update_cc_text
elsif team.subscribed && team.subscribed_at
subscription_info << team.subscriber_text
else
subscription_info << team.trial_message
end
puts subscription_info.join("\n")
I got a message about my subscription being expired, probably as a result of the recent commit. (Seems like I haven't paid since I first subscribed years ago, so no problem there).
But I can't reactivate the subscription. When I try to "Pay $9.99 by card", I just get a message "Customer Already Registered".