vue-payjp-checkout
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.4 • Public • Published

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.

Package Sidebar

Install

npm i vue-payjp-checkout

Weekly Downloads

39

Version

0.0.1-alpha.4

License

MIT

Unpacked Size

98.6 kB

Total Files

6

Last publish

Collaborators

  • ngs