# 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
```javascript
import { GooglePayButton } from 'vue-google-pay'
```
2. Add the component
```javascript
<GooglePayButton
  id="google-pay-btn"
  :options="options"
  @payed="processPayment()"
  @cancel="handleCancel"
/>
```