PayPal订阅开始日期

发布于 2025-02-10 02:47:49 字数 1261 浏览 1 评论 0原文

我一直在网站上使用PayPal订阅来订阅该计划。 其他一切都很好,但是当我的网站上的任何国际用户试图订阅订阅时,PayPal商店在GMT TimeZone中显示日期。

请参阅下图, 即使在日本上午6:40的6/10,订阅仍在PayPal商店中显示6/9 paypal TimeZone问题

我正在使用 https://www.npmjs.coms.com/package/@paypal/react-pail/react-paypal-js 包装包装以集成PayPal商店。

我还尝试过通过买方国家选项,该选项也未能在客户的时区显示时间。

以下是PayPal商店的集成代码,

              <PayPalScriptProvider
                      options={{
                        "client-id": configs.PAYPAL_CLIENT_ID,
                        vault: true,
                        "buyer-country": "NU",
                        locale: "en_US",
                        intent: "subscription",
                       }}
                    >
                         <PayPalButtons 
                          style={{layout: "horizontal"}}
                          createSubscription={createSubscription}
                          onApprove={onChangePlanClick}
                        ></PayPalButtons>
              </PayPalScriptProvider>

我可以根据用户的时区更改时区吗?

I have been using paypal subscriptions for users on my website to subscribe to the plans.
Everything else is working fine but when any international user on my website tries to subscribe the subscription then paypal store shows date in GMT timezone.

Please see below image,
even though it is 6/10 at 6:40 AM in Japan the subscription still shows 6/9 in the PayPal Store
paypal timezone issue

I am using https://www.npmjs.com/package/@paypal/react-paypal-js package to integrate paypal store.

I have also tried passing buyer-country option which also fails to display time in customer's timezone.

Below is the integration code for paypal store

              <PayPalScriptProvider
                      options={{
                        "client-id": configs.PAYPAL_CLIENT_ID,
                        vault: true,
                        "buyer-country": "NU",
                        locale: "en_US",
                        intent: "subscription",
                       }}
                    >
                         <PayPalButtons 
                          style={{layout: "horizontal"}}
                          createSubscription={createSubscription}
                          onApprove={onChangePlanClick}
                        ></PayPalButtons>
              </PayPalScriptProvider>

Is there any way I can change the timezone according to user's timezone?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

も让我眼熟你 2025-02-17 02:47:49

什么是 the timezone设置您已签署了Sandbox帐户的时机设置

尝试使用

What is the timezone setting of the Sandbox account you are signed into?

Try using a Japanese Sandbox account.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文