stripe/react-stripe-elements
### [`v6.1.2`](https://togithub.com/stripe/react-stripe-elements/releases/v6.1.2)
[Compare Source](https://togithub.com/stripe/react-stripe-elements/compare/v6.1.1...v6.1.2)
##### Bug Fixes
- Fix a bug where the `elements` prop is not injected by `injectStripe` when using async `Stripe` and mounting only a `CardCvcElement` or `CardExpiry` Element. ([#519](https://togithub.com/stripe/react-stripe-elements/issues/519) )
### [`v6.1.1`](https://togithub.com/stripe/react-stripe-elements/blob/master/CHANGELOG.md#v611---2020-04-01)
[Compare Source](https://togithub.com/stripe/react-stripe-elements/compare/v6.1.0...v6.1.1)
##### Changes
- Register package version with Stripe instance ([#512](https://togithub.com/stripe/react-stripe-elements/issues/512))
### [`v6.1.0`](https://togithub.com/stripe/react-stripe-elements/blob/master/CHANGELOG.md#v610---2020-02-14)
[Compare Source](https://togithub.com/stripe/react-stripe-elements/compare/v6.0.1...v6.1.0)
##### New Features
Added the `auBankAccount` and `fpxBank` elements. These elements will not have
automatic Element detection/insertion. To use them you will need to use
`elements.getElement` and pass them directly to other Stripe.js methods (e.g.
`stripe.confirmFpxPayment`):
```jsx
const FpxForm = injectStripe(({stripe, elements}) => {
const handleSubmit = async (event) => {
event.preventDefault();
const {error} = await stripe.confirmFpxPayment('{{CLIENT_SECRET}}', {
payment_method: {
fpx: elements.getElement('fpxBank'),
},
});
};
return (
);
});
```
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
6.0.1
->6.1.2
Release Notes
stripe/react-stripe-elements
### [`v6.1.2`](https://togithub.com/stripe/react-stripe-elements/releases/v6.1.2) [Compare Source](https://togithub.com/stripe/react-stripe-elements/compare/v6.1.1...v6.1.2) ##### Bug Fixes - Fix a bug where the `elements` prop is not injected by `injectStripe` when using async `Stripe` and mounting only a `CardCvcElement` or `CardExpiry` Element. ([#519](https://togithub.com/stripe/react-stripe-elements/issues/519) ) ### [`v6.1.1`](https://togithub.com/stripe/react-stripe-elements/blob/master/CHANGELOG.md#v611---2020-04-01) [Compare Source](https://togithub.com/stripe/react-stripe-elements/compare/v6.1.0...v6.1.1) ##### Changes - Register package version with Stripe instance ([#512](https://togithub.com/stripe/react-stripe-elements/issues/512)) ### [`v6.1.0`](https://togithub.com/stripe/react-stripe-elements/blob/master/CHANGELOG.md#v610---2020-02-14) [Compare Source](https://togithub.com/stripe/react-stripe-elements/compare/v6.0.1...v6.1.0) ##### New Features Added the `auBankAccount` and `fpxBank` elements. These elements will not have automatic Element detection/insertion. To use them you will need to use `elements.getElement` and pass them directly to other Stripe.js methods (e.g. `stripe.confirmFpxPayment`): ```jsx const FpxForm = injectStripe(({stripe, elements}) => { const handleSubmit = async (event) => { event.preventDefault(); const {error} = await stripe.confirmFpxPayment('{{CLIENT_SECRET}}', { payment_method: { fpx: elements.getElement('fpxBank'), }, }); }; return ( ); }); ```Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.