97 Commits

Author SHA1 Message Date
github-actions[bot]
3f5f4356d7 [ci] release main (#2518)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-15 17:24:01 +01:00
Yu Long
0e254c3402 Change the pay button and status text for zero auth transactions (#2514)
* feat(card&drop-in): change button and success state for zero-auth transactions

* refactor: added translations for details saved result (applicable for zero auth, non stored card)

* refactor: change result text for zero auth transactions

* chore: add changeset

* test: added tests
2024-01-15 17:12:30 +01:00
github-actions[bot]
a701162af2 [ci] release main (#2497)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-09 15:50:55 +01:00
Yu Long
8ea9ded8ac Feat: PayMe wallet (#2476)
* refactor: scaffold the PayMe wallet

* feat(payme): add the PayMe wallet

* refactor(payme): add the logic for the countdownTime

* refactor(payme): remove comments

* refactor: add translations

* test: add some tests

* refactor: added tests

* refactor: unit test

* chore: add changeset
2024-01-09 11:09:27 +01:00
Yu Long
d358019078 Refactor/improve QR payments status check (#2506)
* refactor: improve the QR payments status check call, wait for the previous call to finish

* added changeset

* refactor: added the timeout for the default http calls and the status check call

* refactor: add unit test
2024-01-09 10:06:45 +01:00
Camil
cafff78e0a Fix incorrect grammar German pay button (#2505)
* Fix incorrect grammar German pay button

Related ticket: COWEB-1227

* Create light-suns-yawn.md

---------

Co-authored-by: sponglord <nicholas.spong@adyen.com>
2024-01-08 13:50:30 +01:00
nicholas
c28c325aef Update sessionData after /setup call 2024-01-03 15:46:50 +01:00
sponglord
a62f32ae06 Feature/detect unsupported sf fields (#2495)
* detect unrecognised data-cse attributes and don't create a SF for them

* Added unit test for new functionality

* added changeset
2023-12-20 12:51:12 +01:00
github-actions[bot]
a2fe84f444 [ci] release main (#2491)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-13 08:57:08 -03:00
Guilherme Ribeiro
d1c9282980 Fix: Loading logos when handling qrCode/await actions (#2490)
* fix: getting proper logos for actions

* changeset
2023-12-13 08:04:24 -03:00
github-actions[bot]
daeb70504a [ci] release main (#2479)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-12 13:35:31 +01:00
sponglord
b21c0f2aec Bumping sf version to 4.8.0 (#2488)
* Bumping sf version to 4.8.0

* Adding changeset file
2023-12-11 12:26:03 +01:00
sponglord
27419b5f61 Fix/detect in iframe fix (#2475)
* detectInIframe fn fix

* detectInIframe renamed to the more accurate (if lengthy!) detectInIframeInAccessibleDomain

* adding changeset file

* changed import in unit test

* Changed check for reading window.parent.location

* Clarified function name and purpose (via comments)

* update comment in changeset file
2023-12-06 12:57:52 +01:00
github-actions[bot]
cf61531b1d [ci] release main 2023-12-04 12:41:40 +00:00
Guilherme Ribeiro
9b688845b9 Klarna B2B - Fixing logo on Drop-in (#2458)
* fix: getting icon using type() function instead of constructor type

* feat: changeset + removed duplicated methods

* fix: removed only frag on unit test
2023-12-04 13:40:12 +01:00
António Ferreira
9d04b6f7ee Feature: Adds onAddressSelected to address lookup functionality (#2406)
* feat: adds onAddresSelected

* fix: change memo to callback

* fix: makes some fnc to useCallback

* feat: typings and blur on close

* add: changeset

* fix: typo in changset

* fix: exported debounce

* add: fix typings

* add: unit test to address search

* fix: assertion count

* fix: sonar cloud code smells
2023-12-04 13:11:06 +01:00
Yu Long
54d056b38b Fix/redirect component to pass browser info (#2469)
* fix(redirect): collect browserInfo

* test: add unit test

* refactor(giropay-redirect): remove formatData override

* chore: add the changeset
2023-12-04 10:36:19 +01:00
Guilherme Ribeiro
fcf40a1f71 Click to Pay - 3rd party cookies (#2409)
* feat: storing cookies

* feat: tests

* feat: timeout adjust

* fix: removed log

* fix: checking checkbox + styles

* fix: using input email

* feat: ui changes

* feat: removing truncating text feature

* feat: changeset

* fix: code review points

* fix: margins

* feat: translations

* feat: truncating text feature back

* feat: email

* fix: update drop shadow
2023-12-04 09:38:04 +01:00
Guilherme Ribeiro
d7b5dd7bb3 Click to Pay - Replacing loading gif by CSS animation (#2435)
* feat: ctp loading image improvement

* fix: changeset
2023-12-04 09:37:12 +01:00
sponglord
f461447e8b card_stop adding credit/debit class to non-cards (#2465)
* card_stop adding credit/debit class to non-cards

* Adding changeset file
2023-11-23 14:09:53 +01:00
github-actions[bot]
ff8fb6fc0e [ci] release main (#2439)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-20 10:56:08 +01:00
Yu Long
6e6b5f5839 Created the changeset 2023-11-08 15:03:17 +01:00
github-actions[bot]
66e0be34f9 [ci] release main (#2369)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-23 12:09:53 +02:00
janhellar
c6c19ac646 Typescript: Exporting 'types' within 'exports' field (#2313)
The `types` field in `package.json` is no longer used if there is
an `exports` field. Because of that `tsc` complains that it can
not find a declaration file for the module.

Co-authored-by: Jan Hellar <jan.hellar@firma.seznam.cz>
2023-10-20 11:23:40 +02:00
Yu Long
16b7bc68b2 refactor: redesign for the QR loader component (#2359) 2023-10-18 14:30:27 +02:00
github-actions[bot]
34d296cb86 [ci] release main (#2364)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-18 13:09:50 +02:00
Guilherme Ribeiro
4f9a683e2a Typescript: Fix type for paymentMethodsConfiguration (#2363)
* fix: payment methods configuration type

* fix: changeset
2023-10-18 11:54:51 +02:00
github-actions[bot]
1891e1d9b5 [ci] release main (#2356)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-17 13:06:05 +02:00
Yu Long
65c41c3197 KlarnaWidget to use authorization token onComplete (#2358) 2023-10-16 16:43:40 +02:00
Guilherme Ribeiro
4f3fedff5f Adjusting paymentMethodConfiguration type to support txVariants not mapped internally (#2349)
* fix: added type to paymentmethods configuration

* fix: changeset

* fix: improved type
2023-10-16 16:14:35 +02:00
sponglord
a95b4f1208 Click to Pay - OTP 'Resend code' fix (#2353)
* CtPOneTimePasswordInput.tsx uses useRef rather than setState to get reference to input field

* Using pre-existing setRef prop on InputBase

* Added changeset file

* tests: added test for ctp

* fix: types

---------

Co-authored-by: guilhermer <guilherme.ribeiro@adyen.com>
2023-10-16 15:39:15 +02:00
Yu Long
2a43611d48 feat: add klarna b2b tx_variant (#2355) 2023-10-16 14:32:03 +02:00
sponglord
72d967cdf3 Populate Sepa data with initial values (#2354)
* Populate data with initial values

* added changeset file
2023-10-16 13:22:00 +02:00
github-actions[bot]
4ca798ca7a [ci] release main (#2345)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-11 11:33:43 +02:00
António Ferreira
cb1564c96f Adds ANCV payment method component (#2293)
* starting ancv

* adds onOrder

* fixes missing scss in InputBase

* adds validation and order

* fix error messages

* move ANCV input

* fix spelling mistake

* update error i18n

* clean up await props

* add ancv to tests

* add changeset for ancv

* translations for ancv

* fix playwright test report

---------

Co-authored-by: antoniof <>
2023-10-11 10:23:43 +02:00
Yu Long
afaa66951b fix: remove inline style applied to iframe (#2343) 2023-10-09 11:31:53 +02:00
Kaarlo Kock
5e51574984 fix: Clear timeouts on SecuredFieldsProvider when unmounting the component (#2334)
* fix: clear load failure timeouts on unmount

SecuredFieldsProvider uses timeouts to check whether securedfields are
loaded properly. Those timeouts are not cleared when the component unmounts
which causes issues if said those fields have already been unmounted as
this triggers the onError handlers.

* Added changeset file

We need a `.changeset file` to initiate the required actions in our workflow

---------

Co-authored-by: sponglord <nicholas.spong@adyen.com>
2023-10-04 14:49:14 +02:00
Yu Long
30385ae4c9 fix(personalDetails): classNameModifiers for dateOfBirth (#2344) 2023-10-04 11:21:55 +02:00
github-actions[bot]
db12de25c7 [ci] release main 2023-09-11 13:50:59 +00:00
sponglord
0f5f834301 Add 'redirectFromTop' config prop to allow top level redirect when Checkout loaded in an iframe (#2325)
* Add 'redirectFromTop' config prop to allow top level redirect when Checkout loaded in an iframe

* Changed 'redirectFromTop' to 'redirectFromTopWhenInIframe' to make its function clearer
2023-09-11 15:49:23 +02:00
github-actions[bot]
e96dfcb94c [ci] release main (#2322)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-04 16:05:23 +02:00
sponglord
28d4eb2d35 Extra checks on dual branding selection (#2321)
* Perform extra checks that a valid value has been passed when a dual brand selection is made

* Add changeset
2023-09-04 13:25:03 +02:00
github-actions[bot]
56f07cf06e [ci] release main (#2314)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-28 14:44:50 +02:00
sponglord
ff64e66663 Hide expiryDate field on storedCards when this info is not available (#2315)
* Hide expiryDate field on storedCards when this info is not available

* storedCards don't show unpopulated expiryDate field

* stop passing status to StoredCardFields

* use getBy instead of queryBy, where appropriate
2023-08-28 14:03:39 +02:00
Guilherme Ribeiro
1b8965f641 Bancontact - Using 'bcmc' instead of 'scheme' for paymentMethod.type (#2286)
* feat: supporting custom urls

* fix: reverting safety checks

* feat: using url when resolving

* feat: changeset + change in the environments + test

* feat: updated bcmc paymentmethod type

* feat: bcmc change
2023-08-24 13:31:55 +02:00
Guilherme Ribeiro
1532d705f4 Adding support for Custom URLs (#2262)
* feat: supporting custom urls

* fix: reverting safety checks

* feat: using url when resolving

* feat: changeset + change in the environments + test
2023-08-24 13:15:20 +02:00
github-actions[bot]
ea00111f75 [ci] release main (#2308)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 16:49:09 +02:00
António Ferreira
25abfacd25 reverts default storedetails default value (#2307) 2023-08-22 16:36:48 +02:00
github-actions[bot]
043e45d713 [ci] release main (#2306)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-21 17:45:10 +02:00
António Ferreira
9f4b1cd8e8 Fixes postalCode having maxlength 0 (#2305)
* fix maxlength being set to 0

* adds changeset
2023-08-21 17:34:37 +02:00