TryGhost/Ghost

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

Fermée

#22 115 ouverte le 5 févr. 2025

 (2 commentaires) (0 réaction) (0 personne assignée)JavaScript (11 889 forks)batch import
bugcommunityhelp wanted

Métriques du dépôt

Stars
 (54 787 étoiles)
Métriques de merge PR
 (Merge moyen 19j 11h) (658 PRs mergées en 30 j)

Description

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

Guide contributeur