vue-google-pay

0.0.2 • Public • Published

Vue Google Pay

A Vue wrapper for Google Pay

Installation

npm install vue-google-pay

or

yarn add vue-google-pay

Usage

  1. Import the component
import { GooglePayButton } from 'vue-google-pay'
  1. Add the component
<GooglePayButton
  id="google-pay-btn"
  :options="options"
  @payed="processPayment()"
  @cancel="handleCancel"
/>

/vue-google-pay/

    Package Sidebar

    Install

    npm i vue-google-pay

    Weekly Downloads

    43

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    193 kB

    Total Files

    10

    Last publish

    Collaborators

    • vadim-givola