TryGhost/Ghost

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

クローズ

#22,115 opened on 2025/02/05

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (11,865 件のフォーク)batch import
bugcommunityhelp wanted

Repository metrics

Stars
 (54,676 個のスター)
PR merge metrics
 (平均マージ 19d 11h) (30d で 658 merged PRs)

説明

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

コントリビューターガイド