3743 Commits

Author SHA1 Message Date
dependabot[bot]
ebff5abe54 chore(deps): bump get-func-name from 2.0.0 to 2.0.2 (#2340)
Bumps [get-func-name](https://github.com/chaijs/get-func-name) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/chaijs/get-func-name/releases)
- [Commits](https://github.com/chaijs/get-func-name/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: get-func-name
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 13:47:36 +02:00
dependabot[bot]
c497a85eb6 chore(deps): bump @babel/traverse from 7.21.5 to 7.23.2 (#2361)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 13:46:52 +02:00
renovate[bot]
5ee60afe8f chore(deps): update dependency postcss to v8.4.31 [security] (#2347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 13:46:11 +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
sponglord
48c537fe61 fixing e2e tests now /binLookup and /paymentMethods response have change (#2352)
* fixing e2e tests now /binLookup and /paymentMethods response have change

* removed .only from test file
2023-10-12 09:59:25 +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
sponglord
789b285b86 Merge pull request #2330 from Adyen/fix/storedPMs_in_playground
Add 'recurringProcessingModel' prop when making a storedPM payment ing API v70
2023-10-09 16:44:54 +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
sponglord
5dc55a5ab0 Migrated card's general test and legacyInputMode tests to Playwright … (#2332)
* Migrated card's general test and legacyInputMode tests to Playwright & removed original testCafe versions

* pushing new playwright report file
2023-09-27 13:52:17 +02:00
nicholas
721f1fc6dd Add 'recurringProcessingModel' prop when making a storedPM payment using API v70 2023-09-14 10:55:49 +02:00
sponglord
7d67e7b27a Merge pull request #2326 from Adyen/changeset-release/main
[ci] Release main
2023-09-11 16:00:31 +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
sponglord
d7740c4839 Merge pull request #2317 from Adyen/chore/update_config_to_work_with_api_v69+
Update paymentsConfig to work against API v69+
2023-09-08 16:25:18 +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
nicholas
b20e4a0f38 Update paymentsConfig to work against API v69+ 2023-08-29 13:33:27 +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
sponglord
01f11eda42 Merge pull request #2296 from Adyen/changeset-release/main
[ci] Release main
2023-08-15 14:16:23 +02:00
github-actions[bot]
69bd08f0b1 [ci] release main 2023-08-15 11:57:00 +00:00
sponglord
9f602c880a Chore/handling safari responsive design mode (#2299)
* SFP: Renaming disableIOSArrowKeys prop

* Add & inspect booleans that determine if we are dealing with genuine touch events - and only perform certain actions if we are

* Extra checks for expiryYear in processAutoComplete.ts

* Look for hasGenuineTouchEvents flag from either checkoutWeb or a securedField

* Adding changeset file

* Set resourceEnvironment to Test
2023-08-15 13:55:11 +02:00
António Ferreira
2f804aca2c add changset for remove renderFormField (#2298) 2023-08-14 13:09:26 +02:00
sponglord
a0f468a78e Merge pull request #2297 from Adyen/chore/add_changeset
Added missing changeset for #2292
2023-08-14 12:15:41 +02:00
nicholas
43acbf4da8 Added missing changeset for #2292 2023-08-14 11:58:46 +02:00
sponglord
d480f2ebb1 Fixed bug where cvcPolicy & expiryDatePolicy could be overwritten (#2292) 2023-08-14 11:11:18 +02:00
sponglord
c871798907 Feature/indicate when analytics disabled (#2290)
* Send 'do-not-track' as value for checkoutAttemptId when analytics is disabled

* adding .changeset

* Fixing e2e tests
2023-08-14 10:52:27 +02:00
sponglord
410a4ee13e Chore/update e2e test (#2289)
* Fixed e2e tests that were failing due to recent changes in how alt attributes are assigned

* Adding changeset file
2023-08-14 10:51:42 +02:00
António Ferreira
4009ab4163 fixes missing scss in InputBase (#2291) 2023-08-10 15:04:21 +02:00
António Ferreira
7c95185130 Removed renderForm and fixed typings for InputBase (#2233)
* wip: typings fix for base input

* fixes some types more to go

* remove renderFormField pt1

* removes renderFormFields

* remove some more renderForm

* cleanup code

* small style fixes
2023-08-09 14:42:29 +02:00
sponglord
ebb6963e54 Merge pull request #2288 from Adyen/changeset-release/main
[ci] Release main
2023-08-07 16:07:28 +02:00
github-actions[bot]
70726055af [ci] release main 2023-08-07 10:38:40 +00:00
António Ferreira
19d69b0d26 Fixes images not loading from resource provider (#2278)
* changes all comp to use the same getImage imp

* adds changeset

* fixes failing tests

* remove unused object form getImage
2023-08-07 12:35:20 +02:00
António Ferreira
aa3f3aa7ae add changeset for ResultCode typings fix (#2287) 2023-08-07 12:35:04 +02:00