vue-payjp-checkout

PAY.JP Checkout component for Vue.js

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vue-payjp-checkout
1200.0.1-alpha.45 years ago5 years agoMinified + gzip package size for vue-payjp-checkout in KB

Readme

vue-payjp-checkout
PAY.JP Checkout Button component for Vue.js
npm version Codacy Badge CircleCI

How to use

npm install --save vue-payjp-checkout

var Vue = require('vue')
var PayjpCheckout = require('vue-payjp-checkout')
Vue.use(PayjpCheckout)

<payjp-checkout
    api-key="pk_test_d4b1a4668323c8ce49ab7ec5"
    client-id="d3d774f50bb006c26bac19402f0140a7228f8522"
    text="ポップアップを開く"
    submit-text="テストカードで支払い"
    name-placeholder="JOHN DOE"
    v-on:created="onTokenCreated"
    v-on:failed="onTokenFailed">
</payjp-checkout>

View demo

Author

Atushi Nagase

License

Copyright © 2018 Atushi Nagase. All rights reserved.