Breaking changes
New features
- Added a
defaultValues
prop to theCardForm
component. Currently only acceptscountryCode
, and is Android-only. #974 - Added the
countryCode
prop to theCardField
component. #989 - Added option to create a PII token (represents the details of personally identifiable information) to the
createToken
method. #976
Fixes
- Resolve with an Error (of type
Canceled
) if no payment option is selected in the Payment Sheet custom flow (i.e., thex
button is clicked to close the Payment Sheet). #975 - Fixed an issue on Android where the
complete
field in theonCardChange
callback would incorrectly be set totrue
even if the postal code wasn't filled out. #989 - Make
SetupIntent.lastSetupError
andPaymentIntent.lastPaymentError
object shape consistent on iOS and Android.#990
Please see the changelog for additional details.