You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Stripe is disconnected, tiers are left in an active status, but cannot be archived from the admin panel. They can show up in a #get request on some theme pages, and also on Portal's /#/portal/plans route.
Expected behavior: Tiers should not be returned by #get (or a filter should exist that prevents this) if Stripe is disconnected.
Probable workaround: Add logic check for whether stripe is connected before #get in theme code. (But Portal would still need to be patched.)
Steps to Reproduce
Connect to stripe (test mode OK)
Create some tiers.
Disconnect from Stripe
Retrieve tiers with {{#get tiers filter="active:true+visibility:public"}} Observe that tiers are returned, which messes up any theme using a custom sign-up page.
Try to delete or deactivate these tiers in the Admin portal to prevent the behavior in 4. Observe that these tiers do not display in the admin portal.
Ghost Version
Ghost Pro
Node.js Version
Ghost Pro
How did you install Ghost?
Ghost Pro
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct
I agree to be friendly and polite to people in this repository
The text was updated successfully, but these errors were encountered:
Today's workaround (after I spent 15 minutes scratching my head about the behavior, not realizing the client's site had ever been connected to Stripe): Connect Stripe (to a test account, in test mode), archive the problem tier, disconnect Stripe.
Issue Summary
If Stripe is disconnected, tiers are left in an active status, but cannot be archived from the admin panel. They can show up in a #get request on some theme pages, and also on Portal's /#/portal/plans route.
Expected behavior: Tiers should not be returned by #get (or a filter should exist that prevents this) if Stripe is disconnected.
Probable workaround: Add logic check for whether stripe is connected before #get in theme code. (But Portal would still need to be patched.)
Steps to Reproduce
Ghost Version
Ghost Pro
Node.js Version
Ghost Pro
How did you install Ghost?
Ghost Pro
Database type
MySQL 8
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: