- ApplePay: Introduced
onCreatePayment
delegate for handling post-payment actions. This function is called after the shopper authorizes a payment. Use it to create the PayIn on your server and return the PayIn object to the SDK. - UX: Improved loading indicator.
- You can now obatain BrowserInfo from Checkout SDK to use in your PayIn request.
- GooglePay: Introduced
onCreatePayment
delegate for handling post-payment actions. This function is called after the shopper authorizes a payment. Use it to create the PayIn on your server and return the PayIn object to the SDK.
- Fixed issue with custom button when using Card Element.
- Removed margin in Legal notice before the link
- Added localalization support for PT, NL, DE and ES languages
- Introduced tenantId in initialization optioins.
- Improved event and error logging.
- Fix issues with clearing card form.
- Fixed minor issues with 3DS redirects handling.
- Renamed private packages.
- Fixed dependencies.
-
CARD: Fixed issue where
onTokenizationComplete
failed to trigger whenonCreatePayment
was utilized. Now, events will consistently fire regardless of the use ofonCreatePayment
. Please note the following:- If
onCreatePayment
is used, the SDK will promptly advance to the subsequent step in the process by invokingonCreatePayment
afteronTokenizationComplete
, subsequently initiating a 3DS redirect. onCreatePayment(data)
provides you with the cardId required for payment within the data parameter.
- If
-
Changed package name: The package name has been changed from
sdk-loader
tocheckout-sdk
.- Subseuqently:
MangopaySdkLoader
has been renamed toMangopayCheckout
- Subseuqently:
-
PayPal payment method support: Added the ability for customers to pay via PayPal in addition to credit/debit cards. PayPal is now available as a payment option during the checkout flow.
-
Introduced new
onPaymentComplete
event: Developers can now listen for theonPaymentComplete
event, which is triggered after a payment is successfully completed. This allows for customized post-payment logic or analytics tracking. -
Introduced new
onCreateCardRegistration
delegate: TheonCreateCardRegistration
delegate gives developers control over making card registration creation optional during the Payment session. It is only called when the shooper clicks the "Pay" button for card payment. -
Introduced new
onCreatePayment
delegate: TheonCreatePayment
delegate is called when the user is ready to pay. Developers can use this to make a backend request for the transaction details and return the corresponding payment method object. -
Improved 3DS workflow: The 3D Secure (3DS) authentication workflow for card payments is now handled entirely within the SDK. Developers no longer need to separately install and integrate a 3DS component.
-
Introduced
profillingMerchantId
: When initializing the SDK, developers must now provide aprofillingMerchantId
for risk profiling and fraud prevention purposes. -
Added support for CB (Cartes Bancaires): The CB (Cartes Bancaires) card network has been added to the list of
supportedCardBrands
. -
Renamed
paymentConfiguration
toamount
: The paymentConfiguration option in the configuration object has been renamed toamount
for clarity. -
Removed red error message from iframe: The red error message previously printed in the iframe has been removed. Errors are now communicated via the onError event callback.
-
Added currency support for card payments: Support has been added for the following currencies for card payments: AED, AUD, CAD, CHF, DKK, EUR, GBP, HKD, JPY, NOK, PLN, SEK.
- Enforced
supportedCardBrands
for card form: ThesupportedCardBrands
option now correctly drives the visible card networks displayed on the card form during checkout.