Installation
npm install --save transbank-vue
or
yarn add transbank-vue
Usage
Vue
vue template html WebpayNormal, OneClick, PatPass
vue template html WebpayPlus
vue template js
props: {} { return url: '' token: '' transactionReady: false } methods: { // API CALL PROMISE thisurl = apiUrl thistoken = apiToken /* * When the "ready" boolean is set to true, * it starts to send the form after 500ms in case of any problem */ thistransactionReady = true } ;