Commit graph

7216 commits

Author SHA1 Message Date
Philipp Stracker
060dedaae9
♻️ Match button-manager of GooglePay and ApplePay 2024-10-07 12:29:12 +02:00
Philipp Stracker
c2d5c8f3c5
🚧 Adjust button-manager to new workflow 2024-10-07 12:27:20 +02:00
Philipp Stracker
d5e406a563
🚧 Migrate button initialization to new workflow
The ContextHandlerFactory previously was used inside the ApplePayButton constructor.
2024-10-07 12:13:46 +02:00
Philipp Stracker
4604e68b5a
💡 Add missing annotation in Google Pay module 2024-10-07 12:12:46 +02:00
Philipp Stracker
64b1bf3c41
🚧 Minor cleanup 2024-10-07 12:12:21 +02:00
Philipp Stracker
2646cf4a44
🚧 Add new validation & configuration methods 2024-10-07 12:07:19 +02:00
Philipp Stracker
7b2397f86b
🚧 Make remaining attributes private 2024-10-07 12:04:50 +02:00
Philipp Stracker
3180c2933c
🚧 Remove obsolete attributes
Those have moved to the parent class
2024-10-07 12:02:21 +02:00
Philipp Stracker
3c03c2ce3b
🚧 Add css-class to style the payment button
Used by the parent class
2024-10-07 12:01:26 +02:00
Philipp Stracker
39b9c784d4
🚧 Implement getters for wrapper & styles 2024-10-07 11:54:19 +02:00
Philipp Stracker
0ef461e4b2
🚧 Fix code style 2024-10-07 11:35:39 +02:00
Philipp Stracker
9322812caa
🚧 Remove #isInitialized and obsolete getter 2024-10-07 11:35:13 +02:00
Philipp Stracker
c6ed763f0f
🚧 Remove obsolete functions 2024-10-07 11:31:00 +02:00
Philipp Stracker
d1bb877553
🚧 Update the constructor 2024-10-07 11:00:39 +02:00
Philipp Stracker
eef4c80a48
🚧 Remove unused methods 2024-10-07 10:58:53 +02:00
Philipp Stracker
096aa4fc53
🚧 Extend class from PaymentButton base 2024-10-07 10:48:04 +02:00
Daniel Dudzic
07bedc4460
Add the UnifiedScriptLoader and usePayPalCommerceGateway hook 2024-10-07 10:42:56 +02:00
Emili Castells
e9ef82a4da
Merge pull request #2663 from woocommerce/PCP-3752-fastlane-modal-info-message-overflow-in-the-block-checkout
Axo Block: Fix the Fastlane modal info message text overflow issue (3752)
2024-10-07 10:42:17 +02:00
Emili Castells
8f13457181
Merge pull request #2662 from woocommerce/PCP-3740-fastlane-update-fastlane-block-checkout-description-in-editor
Axo: Remove Axo from the Checkout block in the editor and add an ACDC card preview (3740)
2024-10-07 10:40:32 +02:00
Emili Castells
3be4456bb0
Merge pull request #2665 from woocommerce/PCP-3541-sync-woo-with-axo-shipping
Fastlane update shipping options & taxes when changing address (3541)
2024-10-07 10:39:05 +02:00
Emili Castells
85660ab5a1
Merge pull request #2577 from woocommerce/PCP-3534-guest-email
Set email when creating order for express payment
2024-10-07 10:37:31 +02:00
Daniel Dudzic
5e1c2a22d2
Introduce a unified script loader to improve script loading, debugging and prevent conflicts 2024-10-05 02:26:09 +02:00
Philipp Stracker
3430ccc01a
🐛 Removed deprecated CSS rule
The correct CSS that is expected and handled by the JS integration is generated by PHP in the class method `ApplePayButton::hide_gateway_until_eligible()`
2024-10-04 16:14:46 +02:00
Daniel Dudzic
769cd3c3f7
Axo Block: Correctly reset setIsEmailLookupCompleted state when a different payment method gets selected 2024-10-04 16:13:05 +02:00
Emili Castells
1325779582
Merge pull request #2651 from woocommerce/PCP-3736-translations-no-longer-applied-to-card-fields-in-2-9-0
Add Custom Placeholder Handling when rendering the card fields (3736)
2024-10-04 15:16:27 +02:00
Emili Castells
b4b574db99
Merge pull request #2636 from woocommerce/PCP-3696-google-pay-has-no-amount
Fix the "0.00" amount in Google Pay for virtual products (3696)
2024-10-04 15:15:30 +02:00
Daniel Dudzic
12fc44eaa7
Axo Block: Make sure the container exists before trying to render the Card component 2024-10-04 15:13:12 +02:00
Emili Castells Guasch
6d52f39ad0 Fix psalm 2024-10-04 14:56:15 +02:00
Emili Castells Guasch
22ba368ba1 Cache id token response for 5 seconds 2024-10-04 12:58:16 +02:00
Daniel Dudzic
af9eca7ef6
Axo Block: Display card fields when the profile is missing a card 2024-10-04 11:34:19 +02:00
Danny Dudzic
1ca98a10bc
Merge pull request #2668 from woocommerce/PCP-3765-add-code-comments-to-the-axo-block-module
Axo Block: Improve code comments and fix minor misc bugs (3765)
2024-10-03 15:50:05 +02:00
Daniel Dudzic
05ea2f1e10
Axo Block: Improve the comment regarding class names 2024-10-03 14:33:54 +02:00
Emili Castells
14b231ae1e
Merge pull request #2661 from woocommerce/PCP-3665-fix-gpay-preview
Fix Google Pay preview config and style
2024-10-03 14:33:01 +02:00
Daniel Dudzic
2436ceb487
Axo Block: Improve code comments and fix minor misc bugs 2024-10-03 14:09:12 +02:00
Emili Castells
634b3707ee
Merge pull request #2667 from woocommerce/PCP-3744-fix-multicurrency
Fix multi-currency support
2024-10-03 12:40:35 +02:00
Emili Castells
f6646e23b3
Merge pull request #2643 from woocommerce/PCP-3695-apple-pay-button-broken-on-product-page
Unsuccessfully payment from product page with Apple Pay button (3695)
2024-10-03 10:44:38 +02:00
Emili Castells
9f7c6f5284
Merge pull request #2618 from woocommerce/PCP-3688-button-unlinking-pay-pal-subscriptions-plan-does-not-showing-for-simple-subscription
Button Unlinking PayPal Subscriptions plan does not showing for simple subscription (3688)
2024-10-03 10:44:08 +02:00
Emili Castells
a3ec172b05
Merge pull request #2639 from woocommerce/PCP-3687-missing-logo-on-block-checkout-page-for-apm-s-my-bank-blik-and-trustly
Use the PayPal icons instead of WC ones (3687)
2024-10-03 10:43:40 +02:00
Emili Castells
407eff51f1
Merge pull request #2631 from woocommerce/PCP-3661-improve-context-detection-in-ajax
Improve context detection
2024-10-03 10:43:13 +02:00
Emili Castells
9550c792f6
Merge pull request #2581 from woocommerce/PCP-3645-fix-disabling-acdc-vaulting
Declare tokenization for ACDC only when vaulting enabled (3645)
2024-10-03 10:41:58 +02:00
Emili Castells
e8917a9485
Merge pull request #2573 from woocommerce/PCP-3617-check-id-type
Check that get_the_ID is valid before using
2024-10-03 10:40:37 +02:00
Emili Castells
859f99b4ca
Merge pull request #2608 from woocommerce/PCP-3523-fix-shortcode-check
Fix classic shortcode block type checks
2024-10-03 10:40:07 +02:00
Emili Castells
8592213b9a
Merge pull request #2464 from woocommerce/PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
Fix the Google Pay button in the block Checkout in the editor (3374)
2024-10-03 10:39:01 +02:00
Emili Castells
3983721b2a
Merge pull request #2447 from woocommerce/PCP-3348-extend-advanced-card-processing-country-eligibility-for-hong-kong-singapore
Extend supported ACDC countries and currencies to HK and SG (3348)
2024-10-03 10:38:18 +02:00
Emili Castells
6b7001fdf7
Merge pull request #2580 from woocommerce/PCP-3310-fix-pui-editor
Fix PUI error in editor
2024-10-03 10:37:39 +02:00
Alex P
8b94dda4d6
Fix tests 2024-10-03 10:40:37 +03:00
Alex P.
5f0c59cd8d
Fix lint 2024-10-03 10:12:17 +03:00
Alex P.
f85df4718a
Retrieve shop currency later to avoid early caching in service 2024-10-03 10:10:50 +03:00
Alex P.
b3d457d64a
Remove unused 2024-10-03 10:00:10 +03:00
Alex P.
ff18fa7b7f
Fix lint 2024-10-02 17:41:54 +03:00