Git Product home page Git Product logo

vue-stripe-checkout-nuxt-demo's Introduction

Jan 23, 2024 - See major updates here

Discussion here - #236

drawing

Vue Stripe ๐Ÿ’ณ

drawing Financial Contributors on Open Collective npm bundle size npm GitHub Workflow Status saythanks

Vue Stripe is now an official Stripe partner ๐ŸŽ‰

Stripe Checkout & Elements for Vue.js (support for Vue3 is currently in development)

You can support this project by giving it a star, or following the author. You can also send your love through Open Collective โค๏ธ.

Documentation

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

SPECIAL THANKS TO:

Vue Stripe is now powered by GitBook

Made with โค๏ธ by Joff Tiquez

vue-stripe-checkout-nuxt-demo's People

Contributors

dependabot[bot] avatar jofftiquez avatar mirko-kienle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

vue-stripe-checkout-nuxt-demo's Issues

Support for Nuxt 3

I am trying to implement first-time Stripe with Nuxt3. I see there are few issues. Help is really appreciated! Thank you in advance

image image

demo dev not working

i am getting this error after running yarn dev


> yarn dev
yarn run v1.22.10
$ nuxt

   โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
   โ”‚                                       โ”‚
   โ”‚   Nuxt.js @ v2.14.7                   โ”‚
   โ”‚                                       โ”‚
   โ”‚   โ–ธ Environment: development          โ”‚
   โ”‚   โ–ธ Rendering:   server-side          โ”‚
   โ”‚   โ–ธ Target:      server               โ”‚
   โ”‚                                       โ”‚
   โ”‚   Listening: http://localhost:3000/   โ”‚
   โ”‚                                       โ”‚
   โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โ„น Preparing project for development                                                                                                                                                                                           22:39:07
โ„น Initial build may take a while                                                                                                                                                                                              22:39:07
โœ” Builder initialized                                                                                                                                                                                                         22:39:07
โœ” Nuxt files generated                                                                                                                                                                                                        22:39:07

 WARN  Browserslist: caniuse-lite is outdated. Please run:                                                                                                                                                                    22:39:08
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating


โ— Client โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ building (53%) 362/388 modules 26 active
 node_modules/core-js/modules/es.object.values.js

โ— Server โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ building (24%) 120/147 modules 27 active
 babel-loader โ€บ node_modules/vuetify/lib/services/goto/util.js

Assertion failed: (thread_id_key != 0x7777), function find_thread_id_key, file ../src/coroutine.cc, line 134.
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

"window.Stripe is not a function" although ssr: false

I am trying to integrate the Vue-Stripe library into a PoC project and fail after adding it as a plugin and referencing it in the nuxt.config.ts. The error is:

TypeError: window.Stripe is not a function
    install index.js:1
    use VueJS
    default vue-stripe.js:11
    _callee2$ NuxtJS
    c index.js:1
    _invoke index.js:1
    t index.js:1
    Babel 32
    NuxtJS 12

Stripe should be available via the plugin import, so I am wondering how this can happen. Is the Nuxt integration still meant to work?

Demo with nuxt for stripe elements ?

Hello,

I believe this demo only demonstrates the vue checkout feature...
If I want to customise the UI / flow of the checkout I need to use Vue Stripe Card or Elements correct?
For this there is also some backend code required, is this correct? How should we do this? As nuxt is a universal framework, it is quite easy to write backend code? I believe you can write node.js / express inside a /server/ folder for example.
Are my assumptions correct, and would you be able to point me to further instructions or make a demo app? :)

That would be awesome!
Thank you

Not working on insecure hosts

I have cloned the project to my localhost, running on http://example.test and as soon as I click on "Checkout" I am getting a console error:
Vue Stripe will not work on an insecure host. Make sure that your site is using TCP/SSL

Can this be bypassed somehow?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.