Narek Zakarian
b09fb7a64a
Always include the BILLING_AGREEMENT
with subscriptions
2025-03-11 19:06:11 +04:00
Philipp Stracker
05b4baec15
🐛 Fix the partner-referral payload to pass tests
2025-03-05 17:27:39 +01:00
Philipp Stracker
57c2287739
👔 Implement the new “use-cards” onboarding flag
2025-03-05 16:52:37 +01:00
Philipp Stracker
581c28edac
👔 Implement the new subscription-flag
2025-03-05 16:39:03 +01:00
Philipp Stracker
54046cd307
♻️ Restore correct order of payload creation
...
The token must be added after the last filter, to maintain backwards compatibility!
2025-03-05 15:27:43 +01:00
Philipp Stracker
8cb66440d3
🎨 Reduce nesting-depth of code
2025-03-05 15:23:25 +01:00
Philipp Stracker
29ad91f515
💡 Ad deprecation comment to a property
2025-03-05 15:19:37 +01:00
Philipp Stracker
f014539a95
♻️ Remove “append-token” method
...
We want to build the full payload, including the token, in the `::data()` method.
2025-03-05 15:14:52 +01:00
Philipp Stracker
1c17e7199f
♻️ Replace builder pattern with function arguments
...
Instead of using `with_products()` to generate a new object, we now simply pass the products array to the data() function. This adds a lot more transparency to the process and makes the code easier to read and maintain.
The builder pattern is only implemented in 2 files, and both are rarely used, which makes it an overly complex solution for a simple task (in this project).
2025-03-05 14:59:55 +01:00
Philipp Stracker
112ab6485d
🎨 Fix code style
2025-03-05 14:56:31 +01:00
Emili Castells
b8af9bbbfa
Merge pull request #3089 from woocommerce/PCP-4201-add-support-for-acdc-vault-and-digital-wallets-to-hong-kong-and-singapore
...
Add support for ACDC, Vault, and Digital Wallets to Hong Kong and Singapore (4201)
2025-02-24 09:48:20 +01:00
Emili Castells Guasch
fe4ae4211e
Add type to property definition
2025-02-20 15:03:15 +01:00
Emili Castells Guasch
489942d6b1
Merge branch 'trunk' into PCP-4155-store-and-use-the-merchant-country
2025-02-19 14:35:22 +01:00
Emili Castells Guasch
c7b3cda2c4
Fix phpcs
2025-02-18 12:44:31 +01:00
Philipp Stracker
7a106742e3
🚚 Rename environment-service
2025-02-17 18:48:38 +01:00
Philipp Stracker
d672656513
🔥 Remove unused “use” statements
2025-02-17 18:26:05 +01:00
Emili Castells Guasch
32c34e7b89
Get country code from seller status
2025-02-17 17:52:11 +01:00
Emili Castells Guasch
86317a63d1
Add PayPal merchant country to seller status
2025-02-17 16:19:00 +01:00
Daniel Hüsken
f3b47d811b
fix missing adding
2025-02-13 09:54:21 +01:00
Philipp Stracker
70c44b1f18
♻️ Consolidate ‘api.host’ service logic
2025-02-03 14:50:41 +01:00
Philipp Stracker
af6cc7e56b
♻️ Use new connection-check for API host services
2025-02-03 14:39:12 +01:00
Philipp Stracker
1286d0866e
🚚 Extract services from onboarding module
2025-02-03 14:34:25 +01:00
Philipp Stracker
81ca5dd00e
♻️ Use cache service instead of direct creation
2025-02-03 13:42:26 +01:00
Philipp Stracker
0b77ff9e55
♻️ Extract bearer-logic from onboarding module
2025-02-03 13:40:12 +01:00
Philipp Stracker
3d185090e2
🐛 Cache the SellerStatus
2025-02-03 12:06:12 +01:00
Philipp Stracker
c985573d1d
🥅 Annotate all throwable errors
2025-01-30 17:27:37 +01:00
Philipp Stracker
70abceeee0
✨ New base class to check feature eligibility
2025-01-30 17:12:19 +01:00
Philipp Stracker
a28b084abc
♻️ Use the “paypal-bearer-cache” DI service
2025-01-09 18:41:46 +01:00
Philipp Stracker
e11441665e
✨ Add new hook that clears API caches
2025-01-09 18:35:52 +01:00
Philipp Stracker
f384d361cf
♻️ Move code from onboarding- to api-client-module
2025-01-09 12:36:05 +01:00
Philipp Stracker
eb4c9a6302
🚨 Fix phpcs warnings
2025-01-09 12:34:22 +01:00
Philipp Stracker
3f691bea01
♻️ Use EnvironmentConfig in ConnectionUrlGenerator
2025-01-03 13:52:42 +01:00
Philipp Stracker
a1f80f1d3d
♻️ Refactor to use the EnvironmentConfig
2025-01-03 13:11:41 +01:00
Niklas Gutberlet
e948c43f73
Merge pull request #2906 from woocommerce/PCP-4014-Zero-Value-Free-Gift-Item-Causing-“CANNOT-BE-NEGATIVE”-Error
...
Fix negative unit amount adjustments in item sanitization
2024-12-23 12:36:58 +01:00
Niklas Gutberlet
dcbf31823c
Merge pull request #2905 from woocommerce/PCP-2941_change-hardcoded-Address-Match-and-Postal-Match-to-Matched-details-on-CVV-response
...
Change hardcoded address match and postal match to matched details on cvv response
2024-12-23 12:35:27 +01:00
Daniel Hüsken
ae275210ca
fix null return type
2024-12-11 15:50:12 +01:00
Daniel Hüsken
9c447835ab
Fix negative unit amount adjustments in item sanitization
2024-12-11 15:31:12 +01:00
Daniel Hüsken
486c0e6839
removed translation, improved wordings and fixes
2024-12-11 14:16:09 +01:00
Daniel Hüsken
c92e2455e1
fix phpcs error
2024-12-11 10:24:03 +01:00
Daniel Hüsken
3a63a8e7d7
fix phpcs error
2024-12-11 09:57:48 +01:00
Daniel Hüsken
b2aff30580
fix psalm error
2024-12-11 09:27:59 +01:00
Daniel Hüsken
149c5f5b38
add cvv and avs error messages to order note and removed old address match fields
2024-12-11 09:01:44 +01:00
Philipp Stracker
1a36144095
👔 Start to customize the production ISU link
2024-12-05 15:06:59 +01:00
Emili Castells Guasch
f9d5df5b75
Update filter name
2024-12-02 16:25:24 +01:00
Emili Castells Guasch
d470010f7a
Fix filter name
2024-12-02 16:22:28 +01:00
Emili Castells Guasch
2c5c7a6dff
Add default currencies filter
2024-12-02 16:21:24 +01:00
Philipp Stracker
f4058a0b0f
Merge branch 'trunk' into PCP-3960-soft-descriptor-validation
2024-11-29 14:43:50 +01:00
Niklas Gutberlet
56c87129ec
Merge pull request #2846 from woocommerce/PCP-3960-soft-descriptor-invalid-string-length
...
Soft descriptor: Fix INVALID_STRING_LENGTH issue (3960)
2024-11-29 14:40:03 +01:00
Emili Castells Guasch
6bffc4edeb
Add HKD and SGD currencies and all currencies for US
2024-11-28 16:54:49 +01:00
Philipp Stracker
5256f625bd
✨ Strip forbidden chars from soft descriptor
2024-11-28 15:20:04 +01:00