0.24.0 - 2023-02-17
charliecruzan-stripe
released this
17 Feb 19:31
·
180 commits
to master
since this release
Breaking changes
- #1248 Renamed the
paymentSummaryItems
field ininitPaymentSheet()
'sapplePay
params tocartItems
. So your change will look like this:
initPaymentSheet({
...
applePay: {
- paymentSummaryItems: [
+ cartItems: [
}
...
})
New Features
- Added the
setOrderTracking
property to thePlatformPayButton
component and theinitPaymentSheet
method. Use this callback for setting the order details to give users the ability to track and manage their purchases in Wallet. To learn more about order tracking, see Apple’s Wallet Orders documentation. #1248 - Added the
buttonType
field toinitPaymentSheet()
'sapplePay
params. Use this to set the text displayed by the call to action button in the Apple Pay sheet.#1248 - Added the
request
field toinitPaymentSheet()
's,confirmPlatformPayPayment()
's, andconfirmPlatformPaySetupIntent
'sapplePay
params. Use this to support different types of payment requests, likeRecurringPaymentRequest
,AutomaticReloadPaymentRequest
, andMultiMerchantRequest
.#1248 - Added an
options
argument topresentPaymentSheet
which includes atimeout
property. #1287
Please see the changelog for additional details.