2022-04-01から1ヶ月間の記事一覧
現象 表題の通り。Stripeのテスト中に、 You cannot set the quantity for metered plans. というよくわからないエラーが出る。 解法 バージョンによっておそらく解法が異なる。両方試すと良い。 解法1 数量を0に指定する。 newSubscription("default", "pri…
現象 表題の通り。Stripeのテスト中に、 Attempt to read property "default_payment_method" on null というよくわからないエラーが出る。 解法 下記を確認 Billableモデル(\App\Models\Userなど)に対応するユーザがStripe上に存在しているか。 Billable…