Vue Stripe
HomeGitHubTwitterOSSPHP
Vue 2 Version
Vue 2 Version
  • 🎊Welcome!
  • 💳Stripe Checkout
    • Getting Started
    • One-time Payment
    • Subscriptions
    • Sessions
    • Sessions Generator
    • Google & Apple Pay
  • 💸Stripe Elements
    • Getting Started
    • Separate Card Fields
    • Card
    • Payment
  • 🔌Vue Stripe Plugin
  • 🫂Community
  • Others
    • 💜Partners
Powered by GitBook
On this page
  • Installation
  • Usage

Was this helpful?

Edit on GitHub
Export as PDF
  1. Stripe Elements

Getting Started

Vue Stripe is an easy to implement, and well maintained Vue.js plugin for Stripe Checkout, and Elements.

Installation

Terminal
yarn add @vue-stripe/vue-stripe
Terminal
npm install @vue-stripe/vue-stripe

Usage

You just need to import your desired elements component wherever it is needed, and Stripe SDK will only be loaded by the time the component has been mounted.

<template>
  <!-- stripe-element-card -->
</template>

<script>
import { StripeElementCard } from '@vue-stripe/vue-stripe';
export default {
  components: {
    StripeElementCard,
  },
};
</script>

PreviousStripe ElementsNextSeparate Card Fields

Last updated 3 years ago

Was this helpful?

💸