Skip to content

Import by tier can create lots of prices in Stripe if prices don't match #22115

@cathysarisky

Description

@cathysarisky

Issue Summary

Situation:
Needed to import a csv with members, with stripe customer IDs. I had the tier imports on. (Yep, it's beta code, I'm not complaining, just reporting.)
Customers who had pricing in Stripe that matched the Ghost tier imported correctly.
Customers who had pricing in Stripe that did not match the Ghost tier resulted in the creation of a new price in Stripe, followed by refusal by Ghost to import them, with the error message:

The subscription is   managed by the subscription schedule `sub_sched_1QoeeZLXXXXXXX`,   and updating any cancelation behavior directly is not allowed. Please update   the schedule instead.

I ended up with one new price in Stripe for every subscriber with a non-standard price.

Importing without matching tiers worked fine, as did importing the customers who had the "Ghost standard" price.

Steps to Reproduce

see above. It'd be OK to fail to import, but creating a new price for each failure is not good. It'd be nice if they /did/ import.

Ghost Version

5.109

Node.js Version

18

How did you install Ghost?

bitnami

Database type

MySQL 8

Browser & OS version

No response

Relevant log / error output

see above plaese.

Code of Conduct

  • I agree to be friendly and polite to people in this repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs:triage[triage] this needs to be triaged by the Ghost team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions