Commit graph

6397 commits

Author SHA1 Message Date
Philipp Stracker
c72c97f821
♻️ Rename a function 2024-09-04 15:06:50 +02:00
Philipp Stracker
9910164044
️ Only re-render the component when phone changed 2024-09-03 14:07:52 +02:00
Philipp Stracker
ed98033d10
💬 Minor changes in comment & variable name 2024-09-03 13:21:25 +02:00
Philipp Stracker
1398c4ac97
🐛 Refactor code to address some edge cases
When user selects a different gateway, enters a phone number, and then switches back to Fastlane: The existing phone number is correctly synced to Fastlane on initial component render.
2024-09-03 13:16:43 +02:00
Philipp Stracker
a4c2569a87
Sanitize number, only sync valid US numbers
Invalid phone numbers do not trigger a Fastlane refresh
2024-09-02 18:27:29 +02:00
Philipp Stracker
b0359c9de8
♻️ Minor code cleanup
- Define all properties on class level (instead of implicit declaration in constructor)
- Use the new `isRyanFlow` check
- Use the new `this.refreshFastlaneComponent()` method
2024-09-02 16:42:04 +02:00
Philipp Stracker
901774b8cc
Add phone-observer for Gary
Push the phone number from the Woo checkout form to the Fastlane component.
2024-09-02 16:40:14 +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
f751eb2ea9
Merge pull request #2545 from woocommerce/PCP-3583-fix-missing-google-pay-button
Google Pay buttons are missing in block checkout (3583)
2024-08-29 11:53:56 +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
dfecfb8723
Merge pull request #2543 from woocommerce/release/2.9.0-rc1
Release 2.9.0 rc1
2024-08-28 14:34:20 +02:00
Emili Castells Guasch
e7c8d85aef Release 2.9.0-rc1 2024-08-28 14:15:09 +02:00
Emili Castells Guasch
e8bbc43410 Merge branch 'trunk' into release/2.9.0-rc1 2024-08-28 13:59:56 +02:00
Emili Castells
8a6eef4ec7
Merge pull request #2542 from woocommerce/PCP-3583-google-pay-and-apple-pay-button-divs-appear-wrong-payment-method-selections-on-pay-for-order-page
Problem with Google Pay and Apple Pay button placement on Pay for Order page (3583)
2024-08-28 13:58:49 +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
Emili Castells Guasch
767fb6db27 Update main plugin file 2024-08-28 13:48:35 +02:00
Philipp Stracker
8577594033
🐛 Remove the empty Apple Pay wrapper 2024-08-28 13:41:55 +02:00
Emili Castells
c6068685ae
Merge pull request #2541 from woocommerce/PCP-3317-latest-adjustments
Local APMs latest adjustments
2024-08-28 13:32:06 +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
Diego Curbelo
8c1a6f72dc
Merge pull request #2522 from woocommerce/chore/update-wordpress-org-assets
Update Wordpress.org screenshots
2024-08-27 14:41:21 -03: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
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
7a2b1134a1
Merge pull request #2534 from woocommerce/PCP-3564-fatal-error-when-adding-a-new-page-or-clicking-on-edit-page-block-checkout-block-cart-classic-checkout-classic-cart
Fatal error in Block Editor when using WooCommerce blocks (3564)
2024-08-26 14:35:01 +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