Commit graph

7491 commits

Author SHA1 Message Date
carmenmaymo
3a84cc76c3
Merge branch 'trunk' into PCP-4428-fastlane-gateway-visible-on-pay-for-order-page 2025-04-03 10:39:25 +02:00
Philipp Stracker
15c9dbd63f
🔊 Improve logger for internal REST calls 2025-04-03 09:53:12 +02:00
Philipp Stracker
dc46703ce5
🔊 Add log output for connect/disconnect hooks 2025-04-03 09:49:45 +02:00
Carmen Maymó
c4f84bf903
Update modules/ppcp-axo/src/AxoModule.php
Co-authored-by: Danny Dudzic <d.dudzic@syde.com>
2025-04-03 09:44:50 +02:00
Philipp Stracker
9fe2e3d55f
🐛 Prevent double processing of the same token 2025-04-03 09:35:22 +02:00
Emili Castells Guasch
c143e1a1b0 Rename tests 2025-04-03 09:25:22 +02:00
Philipp Stracker
4227298ad3
🚑️ Do not clean up during authentication
“disconnect()” performs several cleanup routines that should only fire at the end of the authentication process. Calling the disconnect() method here effectively invalidated previous onboarding token and prevented successful login.
2025-04-02 18:31:17 +02:00
Philipp Stracker
9f6b15c2dd
🔊 Add log entry when plugin caches are flushed 2025-04-02 18:25:33 +02:00
Emili Castells Guasch
e0ca70f7b6 Add liability shift check 2025-04-02 18:07:22 +02:00
Emili Castells Guasch
e4252ebbf7 Add service for checking if order is valid for capture 2025-04-02 15:51:17 +02:00
Emili Castells
c66fc06746
Merge pull request #3295 from woocommerce/PCP-4454-remove-branded-only-flag-when-uninstalling-pay-pal-payments
Remove branded-only flag when uninstalling PayPal Payments (4454)
2025-04-02 15:46:26 +02:00
Philipp Stracker
76de5917cd
Merge pull request #3296 from woocommerce/PCP-4457-enable-fastlane-watermark-by-default-in-new-settings-ui
Settings UI: Enable Fastlane Watermark by default after onboarding for compatible stores (4457)
2025-04-02 15:43:58 +02:00
Philipp Stracker
a98fb2454b
♻️ Enable AXO watermark during onboarding 2025-04-02 15:37:49 +02:00
Philipp Stracker
78390f0383
💬 Shorten payment method title for branded only 2025-04-02 11:34:35 +02:00
Daniel Dudzic
f901abf21f
👔 Settings UI: Enable Fastlane Watermark by default after onboarding 2025-04-01 23:43:27 +02:00
Philipp Stracker
be17b45277
Add a function to reset the installation path
The `$reason` argument does not provide additional security, but ensures that the function caller states an explicit intention.
2025-04-01 18:30:48 +02:00
Daniel Dudzic
bf2346d33d
👁️‍🗨️ Enhance the accessibility of the new Settings UI 2025-04-01 16:10:32 +02:00
carmenmaymo
c2a29ba731
Hide axo in order pay page 2025-04-01 14:11:59 +02:00
Emili Castells
6deb4ea9ea
Merge pull request #3281 from woocommerce/PCP-4445-welcome-screen-lists-all-major-credit-debit-cards-apple-pay-google-pay-in-branded-only-mode
Welcome screen lists "all major credit/debit cards, Apple Pay, Google Pay," in branded-only mode (4445)
2025-03-31 17:30:53 +02:00
Emili Castells Guasch
d9c1d2ea1e Remove all major credit/debit cards text for branded only 2025-03-31 17:28:36 +02:00
Emili Castells
cc6248584f
Merge pull request #3288 from woocommerce/PCP-4450-enabling-save-pay-pal-does-not-disable-pay-later-messaging
Enabling Save PayPal does not disable Pay Later messaging (4450)
2025-03-31 17:22:13 +02:00
Emili Castells
705ec45581
Merge pull request #3284 from woocommerce/PCP-4442-disable-mini-cart-button-in-default-configuration-in-new-ui
Disable the mini-cart location by default (4442)
2025-03-31 17:21:22 +02:00
Emili Castells
7316bdf956
Merge pull request #3286 from woocommerce/PCP-4443-onboarding-step-4-displayed-for-personal-user-in-branded-only-mode
Hide the payment methods screen for personal user in branded-only mode (4443)
2025-03-31 17:00:08 +02:00
Narek Zakarian
a954e45f3e
Set the mini-cart location disabled by default 2025-03-31 18:46:48 +04:00
Emili Castells
ffa6dc58df
Merge pull request #3282 from woocommerce/PCP-4444-incorrect-heading-in-onboarding-step-4-in-branded-only-mode
Correct heading in onboarding step 4 in branded-only mode (4444)
2025-03-31 16:32:16 +02:00
Emili Castells
877f9b36cc
Merge pull request #3262 from woocommerce/PCP-4410-add-settings-mapper-for-3-ds
Create mapping for the `3d_secure_contingency` setting. (4410)
2025-03-31 15:48:24 +02:00
carmenmaymo
f4792b5349
Add more conditions to show the button 2025-03-31 15:43:56 +02:00
Narek Zakarian
be6070e51f
Filter the shown gateways in the Woo admin settings.
Ensures that only enabled PayPal payment gateways are displayed.
2025-03-31 17:08:16 +04:00
Emili Castells Guasch
d38172e59b Refactor return conditional code 2025-03-31 14:03:15 +02:00
Emili Castells Guasch
ecc2d82a52 Improve code and description 2025-03-31 14:00:30 +02:00
Emili Castells Guasch
a8189b0a6c Add filter to not render pay later messaging 2025-03-31 12:47:40 +02:00
Narek Zakarian
8da8a44f81
Disable card payments for branded casual merchants.
- Passes the `ownBrandOnly` to `determineProductsAndCaps` method to determine if the merchant is casual seller and if in branded only mode.
- If the merchant selected personal account type and is in branded only mode then the card payments eligibility will be defined as `false`
2025-03-31 13:31:20 +04:00
Emili Castells
0d5ea1867f
Merge pull request #3285 from woocommerce/PCP-4432-apple-pay-domain-registration-links-to-production-website-in-sandbox-mode
Settings UI: Fix Feature button links (4432)
2025-03-31 09:22:55 +02:00
Narek Zakarian
7050b92a39
Hide the payment methods screen for personal user in branded-only mode 2025-03-28 19:08:52 +04:00
Daniel Dudzic
2aeae52448
🐛 Settings UI: Fix Feature button links 2025-03-28 15:21:12 +01:00
Narek Zakarian
edb0bf11f3
Disable the mini-cart location by default 2025-03-28 17:54:42 +04:00
Emili Castells Guasch
c77f3266e8 Merge branch 'trunk' into PCP-4439-check-the-branded-only-flag-when-settings-ui-is-loaded-the-first-time 2025-03-28 14:39:03 +01:00
carmenmaymo
1319d2b517
Correct heading in onboarding step 4 in branded-only mode 2025-03-28 12:51:44 +01:00
carmenmaymo
5af2287c61
Hide google/apple in description when branded only with new rules 2025-03-28 12:26:42 +01:00
carmenmaymo
86a5ff561e
Hide google/apple in description when branded only 2025-03-28 11:52:16 +01:00
Philipp Stracker
cbcf9f755f
♻️ Rename the installation-path property
This change allows us to test the development internally as it “resets” the installation path flag when this plugin package is installed. Since it’s a new flag that’s always empty on customer sites, this change has no impact for customers
2025-03-27 17:00:31 +01:00
Philipp Stracker
7534ae5c11
🎨 Automatic code style fixes 2025-03-27 16:57:59 +01:00
Philipp Stracker
82c6b78f50
Check branded-only flags before rendering the UI
At this point we can reliably detect the branded only mode. Calling the initialize method on every render is no problem, because
2025-03-27 16:55:24 +01:00
Philipp Stracker
54da55301e
🔥 Remove the incorrect detection logic
It’s too early to detect branded-mode in this hook
2025-03-27 16:37:44 +01:00
carmenmaymo
91a4323268
Update branch with trunk 2025-03-27 12:04:04 +01:00
carmenmaymo
1b0172ff19
Merge branch 'trunk' into PCP-4133-add-options-for-disable-credit-cards-and-language
# Conflicts:
#	modules/ppcp-settings/services.php
#	modules/ppcp-settings/src/SettingsModule.php
2025-03-27 11:37:50 +01:00
Daniel Hüsken
13b815f053
Merge branch 'trunk' into PCP-4221-apfs-triggers-incorrect-renewal-date-for-simple-products-as-subscriptions
# Conflicts:
#	modules/ppcp-wc-subscriptions/src/Helper/SubscriptionHelper.php
2025-03-27 10:15:55 +01:00
Emili Castells Guasch
01adac6101 Fix typo 2025-03-27 09:57:35 +01:00
Emili Castells Guasch
e4ee46e6ee Merge trunk 2025-03-27 09:53:35 +01:00
Daniel Hüsken
f93ac4cf8d
Refactor callback functions to use $this instead of $module. 2025-03-27 09:12:18 +01:00