Changelog
1.2.0
New Components
- Adds Volume Info component
- Adds Volume Selector component
- Rework and restyle of main component designs
1.1.4
Minor fixes
- Small styling fixes to the bank confirmation screen
1.1.3
New props on the Volume
component
collectEmail
- a boolean prop that allows customer email to be collected during the payment flow. The collected email is available asmetadata.email
in the payment status callback and in the Merchant Portal
See the Full Props Docs for more details
1.1.1
New props on the Volume
component
isButtonEnabled
- a boolean prop that allows to disable the button programmaticallyisCompactMode
- a boolean prop that allows to display the button in compact modebuttonCustomisation
- an object prop that allows to tweak the look and feel of the button in compact mode
See the Full Props Docs for more details
1.0.0
️❗
Breaking change
country
prop is now required in theVolume
component, and must be a valid ISO 3166-1 alpha-2 country code.
import { Volume } from '@getvolume/react'
export default function MyComponent() {
return (
<Volume
amount={50}
currency='GBP'
reference='Example Reference'
country='GB'
merchantPaymentId='123456'
/>
)
}
0.0.55
- Minor bug fixes
0.0.54
- A new event for the desktop version added - PaymentIdGenerated
- The paymentStatusCallback parameter now includes payment metadata.