Skip to content
A simple, light weight payment module for Vue.js.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
drivers/merchants
src
README.md
build.js
package.json

README.md

Vue Pay

A simple, light weight payment module for Vue.js.

This module is still in very early stages.

Install

$ sudo npm install @websanova/vue-pay

Require in the project.

Vue.use(require('@websanova/vue-pay'));

Usage

Coming soon.

Methods

List of methods.

this.$pay.init(); // For initializing driver / files (ex: Stripe).

this.$pay.subscribe(); // Subscribe to a selected plan.

this.$pay.unsubscribe(); // Subscribe to a selected plan.

this.$pay.billing(); // Update (or add) billing info (create customer).

this.$pay.select(); // get or set selected plan.

this.$pay.plan(); // get or set current plan.

this.$pay.plans(); // get plans.

this.$pay.fetchPlans(); // fetch plans

this.$pay.setMerchant(); // Swapping merchants

this.$pay.purchase();

ToDo

  • coupons
  • purchase
  • cart
You can’t perform that action at this time.