vesta-checkout-demo
v1.0.4
Published
Vesta Checkout Form (Demo)
Downloads
1
Readme
vesta-checkout-demo
Vesta Checkout Form (Demo)
Install
npm install --save vesta-checkout-demo
Important
This npm package is just for Demo purposes.
Usage
import React, { Component } from "react";
import VestaCheckoutDemo from "vesta-checkout-demo";
export default class App extends Component {
render() {
return (
<div>
<VestaCheckoutDemo
stripeKey={"xxx"}
name={"Vodafone"}
description={"Pay our Bill"}
onSubmit={data => alert("Token = " + data.token)}
/>
</div>
);
}
}
License
MIT © [Roberto Rodriguez](https://github.com/Roberto Rodriguez)