ocpayment-bundle
v6.1.0
Published
OC payment component bundle
Downloads
122
Readme
ocpayment-bundle
OC payment component bundle
Install
npm install --save ocpayment-bundle
Usage
import React, { Component } from 'react'
import MyComponent from 'ocpayment-bundle'
import 'ocpayment-bundle/dist/index.css'
class Example extends Component {
render() {
return <MyComponent />
}
}
Update Notes
Update 3.x.x to 4.x.x
- Amount on stripe payment is now in cents.
- Capture prop on payment inputs is changed to charge.
- Stripe captureCard on true will create customer before charge. Without captureCard just will charge without creating a customer.
License
MIT © [Ferran Neira Jorba](https://github.com/Ferran Neira Jorba)