@flowio/payment-sdk
v0.26.0
Published
flow.io JavaScript Payment SDK
Downloads
347
Keywords
Readme
@flowio/payment-sdk
Flow Enterprise Payment SDK
Install
npm install @flowio/payment-sdk
Usage
const flowPayment = require('@flowio/payment-sdk');
or
import * as flowPayment from '@flowio/payment-sdk';
Usage as <script> on HTML page
You can use the library via a script tag using the following example:
<script>
window.onFlowPaymentReady = function() {
// payment lib is ready.
}
</script>
<script src="https://pay.flow.io/sdk/v1/payment.min.js" defer></script>
Documentation
See the Flow Documentation site for infomation of how to use the Flow Payment SDK.