TryGhost/Ghost

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

已关闭

#22,115 创建于 2025年2月5日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (11,865 个派生)batch import
bugcommunityhelp wanted

仓库指标

星标
 (54,676 个星标)
PR 合并指标
 (平均合并 19天 11小时) (30 天内合并 658 个 PR)

描述

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

贡献者指南