Commit graph

4596 commits

Author SHA1 Message Date
Daniel Dudzic
bccfe4c436
Add better state management utilizing Redux 2024-09-10 12:03:50 +02:00
Daniel Dudzic
db449b5d70
Move Card markup to a separate component 2024-09-06 13:06:37 +02:00
Daniel Dudzic
522b27aea0
Refactor the Change buttons and the Watermark 2024-09-06 11:33:01 +02:00
Daniel Dudzic
c2831c2ab0
Add memoizing and improve the code quality of the card change button 2024-09-06 03:21:58 +02:00
Daniel Dudzic
4b2da479f3
Add memoizing and improve the code quality of the card change button 2024-09-06 03:21:27 +02:00
Daniel Dudzic
67cbb83f33
Fix Modularity migration error 2024-09-05 21:33:06 +02:00
Daniel Dudzic
f24689a5c1
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3380-prepare-fastlane-integration-on-block-checkout 2024-09-05 21:29:49 +02:00
Daniel Dudzic
1d24259f24
Migrate module to Modularity 2024-09-05 21:28:48 +02:00
Daniel Dudzic
ebd87b70e9
Initial Axo Blocks commit 2024-09-05 21:17:36 +02:00
Philipp Stracker
91eb749877
Fix linter warning 2024-09-04 16:30:02 +02:00
Philipp Stracker
2cb026604c
Merge branch 'PCP-1773-php74'
# Conflicts:
#	composer.lock
2024-09-04 15:47:37 +02:00
Alex P.
f538ea2ef2
Require PHP 7.4+ 2024-09-03 09:07:12 +03:00
Philipp Stracker
7509f914ab
Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-local-alternative-payment-methods/src/LocalAlternativePaymentMethodsModule.php
#	modules/ppcp-paylater-configurator/src/PayLaterConfiguratorModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-08-30 15:16:20 +02:00
Philipp Stracker
ac1e97e4e6
Refactor LocalAlternativePaymentMethodsModule 2024-08-29 18:56:03 +02:00
Emili Castells
796ded031e
Merge pull request #2547 from woocommerce/PCP-3577-fatal-error-in-logs-when-we-try-to-pay-with-apple-pay-as-separate-gateway
Fatal error in logs when we try to pay with Apple Pay as separate gateway (3577)
2024-08-29 12:17:40 +02:00
Emili Castells Guasch
888d9126f5 Add logger to Apple Pay and Google Pay gateways 2024-08-29 11:38:40 +02:00
Philipp Stracker
0f08a64f5e
♻️ Extract repeat logic into new getter 2024-08-28 16:09:11 +02:00
Philipp Stracker
2fa5545af2
🩹 FIx potential problem with initialization order 2024-08-28 15:54:41 +02:00
Philipp Stracker
72b9fdc251
🐛 Fix issue with missing Google Pay button 2024-08-28 15:53:28 +02:00
Emili Castells Guasch
e4ad87b7bd Merge branch 'trunk' into PCP-3583-google-pay-and-apple-pay-button-divs-appear-wrong-payment-method-selections-on-pay-for-order-page 2024-08-28 13:49:06 +02:00
Philipp Stracker
8577594033
🐛 Remove the empty Apple Pay wrapper 2024-08-28 13:41:55 +02:00
Philipp Stracker
f5d4faba79
🐛 Remove the empty Google Pay wrapper
When using Google Pay in a separate payment gateway, there was a left-over div-tag with a fixed height beneath the PayPal payment button. This empty div was the initial wrapper for the payment button in the smart-button block, and is removed from DOM when a separate gateway is used.
2024-08-28 13:21:02 +02:00
Philipp Stracker
b7d18f105e
🐛 Fix incorrect display of initial button
Logic to hide the payment button when used as a smart-button (not as a separate gateway) had a bug, if the PayPal method was not the first payment gateway.

The new logic ensures that the payment button’s visibility is correct, regardless on whether it’s a separate payment gateway or included in the PayPal smart-button block.
2024-08-28 12:56:07 +02:00
Emili Castells Guasch
f3bf4322c5 Fix phpcs 2024-08-28 12:33:03 +02:00
Emili Castells Guasch
a8c43d75c4 Use wc blocks common icons for apm icons 2024-08-28 12:21:03 +02:00
Emili Castells Guasch
4ba74028bf Update texts 2024-08-28 10:44:15 +02:00
Emili Castells
92d2452ae2
Merge pull request #2529 from woocommerce/PCP-3533-inform-users-of-pay-later-messaging-configuration-when-pay-later-wasnt-recently-enabled
Inform users of Pay Later messaging configuration when Pay Later wasn't recently enabled (3533)
2024-08-27 14:45:19 +02:00
Emili Castells
422978b356
Merge pull request #2523 from callmeahmedr/patch-1
Update PaymentsStatusHandlingTrait.php
2024-08-27 14:32:52 +02:00
Emili Castells
f6a19ae9eb
Merge pull request #2528 from woocommerce/PCP-3317-adjustments
APMs via Orders API adjustments (3317)
2024-08-27 13:58:11 +02:00
Emili Castells Guasch
a97d37a8f4 Remove bic on ideal 2024-08-27 13:03:02 +02:00
Emili Castells Guasch
c9d7bfbe6e Fix psalm 2024-08-27 12:41:55 +02:00
Emili Castells Guasch
3287bf97c4 Enable local apms setting by default on new installations 2024-08-27 11:59:31 +02:00
Emili Castells Guasch
b69c924f6a Enable local apms setting by default on new installations 2024-08-27 11:25:11 +02:00
Emili Castells Guasch
42192ede97 Enable local apms setting by default on new installations 2024-08-27 10:48:38 +02:00
Moritz Meißelbach
5c6c3a0005
Merge branch 'refs/heads/trunk' into modularity-module-migration 2024-08-27 10:04:18 +02:00
Emili Castells Guasch
0795abfb21 Revert "Enable local apms setting by default if plugin version is greater than 2.8.3"
This reverts commit 8c7806a028.
2024-08-26 17:35:37 +02:00
Emili Castells Guasch
8c7806a028 Enable local apms setting by default if plugin version is greater than 2.8.3 2024-08-26 17:16:19 +02:00
Emili Castells Guasch
23f9bb246c Add bic field for iDeal gateway and local apms to allowed refund list 2024-08-26 16:18:01 +02:00
Philipp Stracker
dff9acbd06
🔥 Simplify JS code 2024-08-26 14:43:12 +02:00
Emili Castells Guasch
9e8ee47ecb Add get order error handler 2024-08-26 14:32:52 +02:00
Philipp Stracker
f5792b1719
🐛 Fix fatal error in SmartButton class 2024-08-26 13:38:45 +02:00
Philipp Stracker
f6f98204c1
🐛 Fix fatal error in PayPalPaymentMethod class 2024-08-26 13:37:47 +02:00
Philipp Stracker
f43bfe891f
🔥 Remove unused code 2024-08-26 12:40:06 +02:00
Philipp Stracker
ce9a3e284d
🐛 Fix JS problems 2024-08-26 12:39:41 +02:00
Philipp Stracker
53a5d2c8df
🚨 Address failed unit tests 2024-08-26 12:39:01 +02:00
Emili Castells Guasch
819149057e Display PayPal fees in wc order 2024-08-26 12:34:53 +02:00
Philipp Stracker
c2b23358eb
♻️ Improve code structure and rename items
Remove all “nag” references, change “MutableMessage” to “PersistentMessage”, etc.
2024-08-26 11:58:45 +02:00
Philipp Stracker
03c6609c42
Remove muted-flags from user meta on uninstall 2024-08-23 20:04:58 +02:00
Philipp Stracker
9c11e65be3
♻️ Extract mutable-logic into new child class 2024-08-23 19:10:58 +02:00
Philipp Stracker
d1a5e02288
🐛 Fix error caused by typo 2024-08-23 18:19:11 +02:00