Skip to content

Stripe script needs to be updated. #508

@gelanderosh

Description

@gelanderosh

🐛 The bug

This specific script needs to be updated since according to stripe docs, integrations with that specific version are not recommended anymore:
https://docs.stripe.com/sdks/stripejs-versioning

This breaks many things when you follow the guide available in nuxt/scripts documentation, including typechecking since the api set in the script doesnt match the one in the recommended package.
"@stripe/stripe-js"

🛠️ To reproduce

https://stackblitz.com/edit/nuxt-starter-pmdyiz7a

🌈 Expected behavior

Types should match what the package exposes.

ℹ️ Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions