6.0.0-beta2
·
0 commits
to 8bf76a320d62a5f72a6ace79bb35a2427b32bc4e
since this release
- Convert
BraintreePayPal
module to Swift - Breaking Changes
- BraintreePayPal
- Rename
BTPayPalRequest.riskCorrelationId
toBTPayPalRequest.riskCorrelationID
- Removed
BTPayPalRequest.activeWindow
property- The window will be set to the first window or a new
ASPresentationAnchor
if the first window isnil
- The window will be set to the first window or a new
- Update
BTPayPalRequestLandingPageType
enum default case to.none
- Update enum values
.none
= 0.login
= 1.billing
= 2
- Update enum values
BTPayPalRequestUserAction
- Update enum cases to
.none
and.payNow
- Update enum values
.none
= 0.payNow
= 1
- Update enum cases to
- Update
BTPayPalRequestIntent
enum values.authorize
= 0.sale
= 1.order
= 2
- Update
BTPayPalLineItemKind
enum values.debit
= 0.credit
= 1
- Create
BTPayPalLocaleCode
enum BTPayPalRequest.localeCode
now uses theBTPayPalLocaleCode
enum instead of aString
- Renamed and replaced
BTPayPalClient.tokenizePayPalAccount
with two methods calledtokenize()
taking in requests of eitherBTPayPalCheckoutRequest
orBTPayPalVaultRequest
- Removed
BTPayPalErrorType
- Replaced
BTPayPalErrorDomain
global constant withBTPayPalError.errorDomain
- Added
BTPayPalError
.disabled
.canceled
.fetchConfigurationFailed
.httpPostRequestError
.invalidURL
.asWebAuthenticationSessionURLInvalid
.invalidURLAction
.failedToCreateNonce
- Make
BTPayPalNonce
initializer internal
- Rename
- BraintreePayPalNativeCheckout (BETA)
- Renamed and replaced
BTPayPalNativeCheckoutClient.tokenizePayPalAccount
with two methods calledtokenize()
taking in requests of eitherBTPayPalNativeCheckoutRequest
orBTPayPalNativeVaultRequest
BTPayPalNativeCheckoutRequest
now takes in anintent
of typeBTPayPalRequestIntent
instead ofBTPayPalNativeRequestIntent
BTPayPalNativeCheckoutRequest.localeCode
now uses theBTPayPalLocaleCode
enum instead of aString
value
- Renamed and replaced
- BraintreeUnionPay
- Remove
BraintreeUnionPay
module- UnionPay cards can now be processed as regular cards (through the BraintreeCard module) due to their partnership with Discover
- Remove
- BraintreeCore
- Remove
BTConfiguration+Extensions.isUnionPayEnabled
property - Remove
BTPreferredPaymentMethods
andBTPreferredPaymentMethodResult
- Remove
- BraintreeSEPADirectDebit
- The
tokenize
method no longer takes in acontext
parameter - Merchants no longer need to conform to the
ASWebAuthenticationPresentationContextProviding
protocol
- The
- BraintreePayPal