ReactJS Как исправить миграцию и готовить ie, связанный с межсайтовыми предупреждениями с реакцией на полосу реакции - PullRequest
0 голосов
/ 16 апреля 2020

Я хочу использовать 'response-stripe-checkout' без предупреждений!

https://www.npmjs.com/package/react-stripe-checkout
Я смотрю репозиторий Github, я не не вижу никакой миграции! Вот Это Да! https://github.com/azmenak/react-stripe-checkout


Все хорошо, но есть предупреждения, как это исправить (ПОЖАЛУЙСТА, ПОМОГИТЕ МНЕ)? Эти предупреждения очень уродливы! это убить меня! : (


checkout.js:3 You’re using the legacy version of Stripe Checkout.

We released a new version of Checkout in April 2019, which supports mobile wallets and other payment methods:
https://stripe.com/docs/payments/checkout

Learn how to upgrade to the new version:
https://stripe.com/docs/payments/checkout/migration
A cookie associated with a cross-site resource at http://checkout.stripe.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.

Вкл. console Dev tools

Код: https://codesandbox.io/s/m7mpq96m79

Вы можете увидеть предупреждения в прямом эфире: https://m7mpq96m79.csb.app

...