PAY.JP Checkout Button component for Vue.js
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
.vscode
examples
src
.babelrc
.gitignore
.prettierrc
package-lock.json
package.json
readme.md
tsconfig.json

readme.md

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.