Commit graph

7056 commits

Author SHA1 Message Date
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
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
Emili Castells
f766f3f813
Merge pull request #3160 from woocommerce/PCP-4257-phone-number-not-saved-in-wc-order-when-using-pay-now-experience
Phone Number not saved in WC order when using Pay Now experience (4257)
2025-03-18 11:45:09 +01:00
Philipp Stracker
122be6dcd7
🐛 Disable “Credit Card” express payment 2025-03-17 16:59:37 +01:00
Philipp Stracker
a1f8022574
♻️ Pass decision flags to disabled-funding hook 2025-03-17 16:59:01 +01:00
Philipp Stracker
3fead84a70
♻️ Move DCC hooks to separate helper method 2025-03-17 15:23:29 +01:00
Emili Castells
27c1efa487
Merge pull request #3225 from woocommerce/PCP-4351-pay-later-messaging-component-active-with-configure-button-when-save-pay-pal-and-venmo-is-active
Pay Later messaging component active with Configure button when "Save PayPal and Venmo" is active (4351)
2025-03-17 15:21:41 +01:00
Philipp Stracker
3cfbd1002f
♻️ Slightly improve code readability 2025-03-17 14:59:03 +01:00
Philipp Stracker
745c1cc88c
🔥 Remove an unused function argument 2025-03-17 14:58:16 +01:00
Emili Castells
e07cacee65
Merge pull request #3228 from woocommerce/PCP-4348-remove-apple-pay-google-pay-from-the-verbiage-when-region-is-not-eligible
Remove Apple Pay, Google Pay from the verbiage when region is not eligible (4348)
2025-03-17 14:56:05 +01:00
Philipp Stracker
f5194c0be4
♻️ Improve code style and readability 2025-03-17 14:45:37 +01:00
carmenmaymo
4e046a9332
Remove apple/google from description if not available 2025-03-17 14:43:39 +01:00
Narek Zakarian
b96456b9d1
Set the default value for subtotal_adjustment to correction 2025-03-17 16:53:04 +04:00
Philipp Stracker
b5faa08bfd
Prepare a compat method for legacy UI 2025-03-17 13:07:20 +01:00
Emili Castells Guasch
bed05c685e Disable Pay Later feature item if save PayPal and Venmo is checked 2025-03-17 12:07:51 +01:00
Philipp Stracker
704bf7f20c
Allow filtering of card-payment flags
These filters allow to add backwards compatibility
2025-03-14 18:56:50 +01:00
Niklas Gutberlet
f3eedb309b
Merge pull request #3217 from woocommerce/PCP-4295-isu-incorrect-personal
Display only Credit Cards for Personal merchants in Onboarding flow (4295)
2025-03-14 18:50:04 +01:00
Philipp Stracker
42b357d8a6
♻️ Simplify SmartButton code a bit 2025-03-14 18:28:12 +01:00
Philipp Stracker
4803159436
♻️ Refactor the DisabledFundingSource logic
Simplify condiitons and code structure, as the old logic was overly complex. Also, ACDC logic is outsourced to the CardFieldsModule via filters and does not need to be considered here.
2025-03-14 18:27:53 +01:00
Philipp Stracker
ed4bb14ad7
🐛 Fix condition in ACDC module 2025-03-14 18:24:12 +01:00