PayPal订阅开始日期
我一直在网站上使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
什么是 the timezone设置您已签署了Sandbox帐户的时机设置
尝试使用。
What is the timezone setting of the Sandbox account you are signed into?
Try using a Japanese Sandbox account.