Spreedly iOS SDK 1.6.1-rc.1 (Release Candidate)
Pre-release
Pre-release
·
1 commit
to main
since this release
Immutable
release. Only release title and notes can be modified.
Added
- Payment method details on
PaymentResult: After successful card, bank-account, or offsite tokenize, and after successful CVV recache, merchants can read the APIpayment_methodviaresult.paymentResponse?.transaction?.paymentMethod(Swift) — includinglastFourDigits,firstSixDigits, card/ACH/offsite fields, and typedbinMetadata. Objective-C:paymentResponseDictionaryonPaymentResult(same nested camelCase shape).
Security
- Click to Pay host-page injection hardening:
srcDpaIdandlocaleare validated before host load and safely encoded when substituted into the Click to Pay WebView host page; Mastercardlib.jsquery parameters are percent-encoded. - Click to Pay WebView hardening: Release builds no longer mark Click to Pay WebViews as inspectable; native bridge handlers accept main-frame messages only; inbound bridge payloads reject additional cardholder-data key aliases; sandbox Mastercard hosts are allowed only when
isSandboxis true. - Mandate nesting resource guard: Mandates that nest beyond the client resource depth are rejected at request construction instead of risking a host-app crash during tokenization.