This repository has been archived by the owner on Mar 22, 2023. It is now read-only.
Breaking changes
The onTokenReady
prop has been removed from GooglePay, ApplePay and Paypal elements. It has moved to FramePayProvider
.
For example:
<FramePayProvider>
<GooglePay onTokenReady={() => ...} />
<Paypal onTokenReady={() => ...} />
<ApplePay onTokenReady={() => ...} />
</FramePayProvider>
Becomes:
<FramepayProvider onTokenReady={() => ... }>
<GooglePay />
<Paypal />
<ApplePay />
</FramepayProvider>
What's Changed
Full Changelog: v1.6.0...v2.0.0