# 错误：预期类型为 card 的付款方式

**URL:** <https://meta.discourse.org/t/error-a-payment-method-of-type-card-was-expected/392185>\
**Category:** Support\
**Tags:** subscriptions\
**Created:** [2025年十二月26日 16:51 UTC](https://meta.discourse.org/t/error-a-payment-method-of-type-card-was-expected/392185 "2025-12-26T16:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Hyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ryan_hyer/32/159861_2.png) [@Ryan\_Hyer](https://meta.discourse.org/u/Ryan_Hyer)\
**Post date:** [2025年十二月26日 16:51 UTC](https://meta.discourse.org/t/error-a-payment-method-of-type-card-was-expected/392185/1 "2025-12-26T16:51:40Z")

</div>

这个错误过去偶尔会出现在我的用户身上，但现在变得越来越频繁，成了一个严重的问题。

`A payment method of type card was expected to be present, but this PaymentIntent does not have a payment method and none was provided. Try again providing either the payment_method or payment_method_data parameters.`

这个错误有时在当前有订阅的用户尝试支付另一个订阅时出现。在目前的情况下，这是因为我们更改了会员价格，所以我们不得不创建一个新的订阅，并让所有人都根据该新订阅“续订”。并非所有人都收到此错误，我也找不到任何原因。

在这里搜索只引导我看到了[一个帖子](https://meta.discourse.org/t/discourse-subscriptions-plugin/140818/700?u=ryan_hyer)，其中暗示这个错误是已知的，但没有描述解决方案。也许对我来说，我完全是Stripe的新手，这没有帮助，所以我可能连问对问题都没有。希望有人能给我一些指导，谢谢！

---

_[View the full topic](https://meta.discourse.org/t/error-a-payment-method-of-type-card-was-expected/392185)._
