Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fixed Tips & Donations checkout error for sites with long titles #20913

Merged
merged 1 commit into from
Sep 3, 2024

Commits on Sep 3, 2024

  1. 🐛 Fixed Tips & Donations checkout error for sites with long titles

    ref https://linear.app/tryghost/issue/ONC-296
    
    Our `stripe_prices.nickname` field had a length of 50 chars which meant we could error out trying to save a donation Stripe price with a generated product nickname containing a long site title.
    
    - updated db schema and added a migration to change column length to 255
    - added truncation to nickname generation to enforce a limit of 250 chars to match Stripe's limit
    kevinansfield committed Sep 3, 2024
    Configuration menu
    Copy the full SHA
    cff0b80 View commit details
    Browse the repository at this point in the history