Commit graph

7077 commits

Author SHA1 Message Date
Philipp Stracker
c4a1217e6a
🔀 Merge branch ‘trunk' 2025-03-21 18:03:42 +01:00
Emili Castells
51a2f4d4f9
Merge pull request #3067 from woocommerce/PCP-4122-unfortunately-your-credit-card-details-are-not-valid-shown-with-actually-valid-card-during-checkout-with-invalid-postcode
Unfortunately, your credit card details are not valid" shown with actually valid card during checkout with invalid postcode (4122)
2025-03-21 17:17:27 +01:00
Emili Castells
93aa4b73f4
Merge pull request #3240 from woocommerce/PCP-4393-minor-features-related-scrolling-and-highlighting-fixes
Settings UI: Add Minor Features scrolling/highlight fixes (4393)
2025-03-21 17:16:46 +01:00
Narek Zakarian
8490972513
Check if the headers exist in the request 2025-03-21 19:09:37 +04:00
Narek Zakarian
2616974c12
Restrict the BN code to return only the white listed values 2025-03-21 19:06:09 +04:00
Narek Zakarian
95af76b8fb
Remove the mapping service and path the array directly 2025-03-21 19:02:19 +04:00
Narek Zakarian
8ea71593d6
Adjust the mapping of installation paths to BN codes 2025-03-21 18:59:08 +04:00
Narek Zakarian
ce5039e9c8
Init the BN code 2025-03-21 18:36:33 +04:00
Narek Zakarian
9d3e5c9690
the 'PayPal-Partner-Attribution-Id' is not added from here anymore 2025-03-21 18:09:50 +04:00
Narek Zakarian
fefcd25a48
Use a filter that ensures that all API requests include the appropriate BN code retrieved from the PartnerAttribution helper.
Using this approach avoids the need for extensive refactoring of existing classes that use the `RequestTrait`.
2025-03-21 18:09:49 +04:00
Narek Zakarian
00c630ea5e
Revert the changes. WIll use the filter to add it everywhere at once 2025-03-21 18:09:49 +04:00
Narek Zakarian
c781841265
BillingAgreementsEndpoint: Add the 'PayPal-Partner-Attribution-Id' header 2025-03-21 18:09:49 +04:00
Narek Zakarian
0aecc5aa32
Pass the partner attribution helper to a smart button 2025-03-21 18:09:29 +04:00
Narek Zakarian
431a8e5cf7
Rebase 2025-03-21 18:06:50 +04:00
Narek Zakarian
55c19d6173
🚨 Fix the test 2025-03-21 18:03:58 +04:00
Narek Zakarian
5a41260954
Fix the CS 2025-03-21 18:03:58 +04:00
Narek Zakarian
2066bb4968
🔨 🔨 Refactor: Use only the core-profiler path, otherwise use the default BN code. 2025-03-21 18:03:58 +04:00
Narek Zakarian
8e837458f7
Create a class for partner attribution.
This class handles the retrieval and persistence of the BN (Build Notation) Code,which is used to track and attribute transactions for PayPal partner integrations.

The BN Code is set once and remains persistent, even after disconnecting or uninstalling the plugin. It is determined based on the installation path and stored as a WordPress option.
2025-03-21 18:03:57 +04:00
Narek Zakarian
6da8e267cf
Add service for the BN Codes mapping. 2025-03-21 18:03:57 +04:00
Emili Castells
289459212b
Merge pull request #3244 from woocommerce/PCP-4390-php-create-branded-experience-detection
PHP: Create branded-experience detection (4390)
2025-03-21 14:44:36 +01:00
Emili Castells
e262d78cf8
Merge pull request #3236 from woocommerce/PCP-4375-fix-send-only-country-banner
Fix send only country banner (4375)
2025-03-21 14:36:40 +01:00
Emili Castells
e0357ca59e
Merge pull request #3098 from woocommerce/PCP-4116-order-does-not-contain-intent-3-ds-acdc-renewal
Order does not contain intent. (3DS ACDC renewal) (4116)
2025-03-21 14:35:55 +01:00
Emili Castells Guasch
cb453604aa Improve method doc description 2025-03-21 12:28:35 +01:00
Emili Castells Guasch
ad6ff3b471 Extract installation path persistence to service 2025-03-21 12:10:45 +01:00
Emili Castells Guasch
620fc05e5d Merge branch 'trunk' into PCP-4390-php-create-branded-experience-detection 2025-03-20 16:47:01 +01:00
Emili Castells
86a4668c1e
Merge pull request #3009 from woocommerce/PCP-4104-fastlane-plugin-requests-sdk-client-token-when-store-is-not-eligible-for-fastlane
Fastlane: Add a check to make sure that the Fastlane SDK token only gets requested for elegible stores (4104)
2025-03-20 15:27:54 +01:00
Emili Castells Guasch
ff6a96efb9 Make branded experience path constants public 2025-03-20 12:52:18 +01:00
Emili Castells Guasch
1e35965761 Merge branch 'trunk' into PCP-4390-php-create-branded-experience-detection 2025-03-20 12:50:38 +01:00
Emili Castells Guasch
ceda994230 Improve item description 2025-03-20 12:37:55 +01:00
Emili Castells Guasch
bb3bdbbe5c Add new ui active item to status report 2025-03-20 12:17:12 +01:00
Emili Castells
20241d2cc2
Merge pull request #3219 from woocommerce/PCP-4307-card-fields-acdc-does-not-work-in-classic-checkout
Advanced Card Fields do not work in classic checkout (4307)
2025-03-20 10:44:53 +01:00
Emili Castells Guasch
8ec2d9df24 Add custom hook 2025-03-19 17:55:03 +01:00
Emili Castells Guasch
76cc040648 Remove static for private method callback 2025-03-19 16:59:29 +01:00
Emili Castells Guasch
5604809230 Add installation path to data store 2025-03-19 16:25:32 +01:00
Emili Castells Guasch
e544ce1355 Add persistence for branded experience installation path 2025-03-19 15:55:57 +01:00
Emili Castells Guasch
ea14270e24 Add activation detector service 2025-03-19 14:52:47 +01:00
Daniel Dudzic
e6e8415c67
Fix PHPCS linting issues 2025-03-18 21:43:37 +01:00
Daniel Dudzic
0d4da6dabd
Add Minor Features scrolling/highlight fixes 2025-03-18 21:16:06 +01:00
Philipp Stracker
ae3bd15cb6
💡 Update code documentation 2025-03-18 16:46:56 +01:00
Philipp Stracker
aab21b62b4
🐛 New UI: Disable BCDC on store-level
Instead of checking “is enabled” we now check “has capability” - i.e. if a merchant has ACDC capability we will always disable the BCDC funding source
2025-03-18 16:32:38 +01:00
Philipp Stracker
fb27373c1b
🐛 Fix “use-ACDC” flag in legacy UI
A new filter adds backwards compatibility by overwriting the ACDC decision with a settings choice.
2025-03-18 16:31:38 +01:00
Philipp Stracker
09c4f176d0
🐛 Stop enforcing card payments in checkout
Removed a filter that reverted settings entered in the legacy UI’s “Disable Alternative Payment Methods” field.
2025-03-18 16:21:34 +01:00
Philipp Stracker
e9b3cc61d2
Add new hook to customize disabled-funding list 2025-03-18 16:18:19 +01:00
Philipp Stracker
ee5237adf5
🐛 Fix the “disable card funding” condition 2025-03-18 16:11:42 +01:00
carmenmaymo
1bd04302d0
Default to empty tabs for navigation 2025-03-18 14:54:06 +01:00
Philipp Stracker
b5c08e842e
♻️ Make code more readable, resolve one warning 2025-03-18 14:53:49 +01:00
carmenmaymo
882f81d92f
Pass is sendOnlyCountry param 2025-03-18 14:53:42 +01:00
Emili Castells
ddbdf655fc
Merge pull request #3172 from woocommerce/PCP-4227-error-load-textdomain-just-in-time-called-incorrectly-when-running-docker-compose
Error: _load_textdomain_just_in_time Called Incorrectly When Running Docker Compose (PCP-4227)
2025-03-18 14:40:23 +01:00
Emili Castells
ac2f9af250
Merge pull request #3151 from woocommerce/PCP-4071-fastlane-up-time-robot-monitor-dashboard-with-zapier
add fastlane meta to homepage
2025-03-18 12:15:13 +01:00
Emili Castells
9f417f11be
Merge pull request #3169 from woocommerce/PCP-4256-shipping-callback-not-loading-despite-being-enabled
Shipping Callback not loading despite being enabled (4256)
2025-03-18 11:46:11 +01:00