vue-payjp-checkout
v0.0.1-alpha.4
Published
PAY.JP Checkout component for Vue.js
Downloads
128
Readme
vue-payjp-checkout
PAY.JP Checkout Button component for Vue.js
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
License
Copyright © 2018 Atushi Nagase. All rights reserved.