Skip to content
This repository has been archived by the owner on Mar 27, 2021. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@atty-stripe atty-stripe released this 01 Jun 17:58
· 147 commits to master since this release

New Features

  • Support for the IbanElement and IdealBankElement.

Breaking Changes

  • stripe.createSource now requires the Source type be passed in.

    For example, if you previously called stripe.createSource({ name: 'Jenny Rosen' }), you now must use stripe.createSource({ type: 'card', name: 'Jenny Rosen' }).

  • elementRef is no longer a valid prop you can pass to an <Element />. Use onReady instead to get a reference to the underlying Element instance.