【问题标题】:Laravel Cashier Billing Portal LanguageLaravel 收银员计费门户语言
【发布时间】:2021-02-21 18:34:58
【问题描述】:

有什么方法可以用 laravel 收银台更改 Stripe 的计费门户的语言吗?

类似的东西

request()->user()->updateStripeCustomer(['preferred_locales' => ['el']]);

但对于计费门户

request()->user()->redirectToBillingPortal()

【问题讨论】:

    标签: laravel vue.js stripe-payments laravel-cashier


    【解决方案1】:

    我不认为你可以用 laravel 收银员做到这一点,因为即使使用 Stripe 的 API 你也不能做到这一点。计费门户将根据浏览器的默认语言自动显示门户的本地化版本(只要它是支持的语言之一https://stripe.com/docs/billing/subscriptions/integrating-customer-portal#previewing-and-testing)。

    【讨论】:

      猜你喜欢
      • 2021-02-26
      • 2019-01-08
      • 1970-01-01
      • 2014-10-28
      • 2018-03-28
      • 2018-06-17
      • 1970-01-01
      • 2022-11-18
      • 2021-08-01
      相关资源
      最近更新 更多