Commit graph

6905 commits

Author SHA1 Message Date
Philipp Stracker
e95321cf82
🐛 Fix incorrect validation rule 2024-10-09 14:04:21 +02:00
Philipp Stracker
f41fa4f951
Streamline button configuraton validation logic 2024-10-08 18:47:32 +02:00
Philipp Stracker
560ec32e26
🚧 Implement requireShipping getter 2024-10-08 14:54:42 +02:00
Philipp Stracker
6a48c07236
Add transaction info to ApplePay initialization 2024-10-08 14:54:00 +02:00
Philipp Stracker
35473df661
♻️ Make internal attributes private 2024-10-08 14:26:46 +02:00
Philipp Stracker
0d72641ded
Apply new namespaced script loading 2024-10-08 14:25:43 +02:00
Philipp Stracker
ac98924f52
🔀 Merge branch 'trunk' 2024-10-08 14:01:49 +02:00
Philipp Stracker
69d3e032d8
🔀 Merge branch 'PCP-3771’
# Conflicts:
#	modules/ppcp-googlepay/resources/js/GooglepayManager.js
2024-10-08 14:01:10 +02:00
Emili Castells
e8f9ba29c0
Merge pull request #2671 from woocommerce/PCP-3766-multiple-calls-to-post-v-1-oauth-2-token
Multiple calls to POST /v1/oauth2/token?grant_type=client_credentials&response_type=id_token (3766)
2024-10-08 12:49:16 +02:00
Daniel Dudzic
5970aeaceb
Remove the new loader from the SingleProductBootstrap 2024-10-08 10:57:09 +02:00
Daniel Dudzic
733eee08a2
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3771-axo-refactor-pay-pal-script-loading-to-prevent-conflicts 2024-10-08 09:17:08 +02:00
Daniel Dudzic
e76c8b257b
Rename the new script loading script 2024-10-08 00:41:30 +02:00
Daniel Dudzic
eba3d12e4e
Update code comments 2024-10-07 15:42:01 +02:00
Daniel Dudzic
c3bc87b1a3
Revert plugin-api-version change 2024-10-07 15:38:31 +02:00
Daniel Dudzic
a874eca456
Remove log message 2024-10-07 15:35:50 +02:00
Philipp Stracker
c9bae62d6c
🚧 Remove unused code 2024-10-07 15:32:48 +02:00
Daniel Dudzic
869a47f3cd
Migrate Google Pay to the new script loader 2024-10-07 15:30:27 +02:00
Philipp Stracker
d80e92b5e8
🚧 Minor refactoring in boot.js 2024-10-07 15:19:26 +02:00
Philipp Stracker
c00c9c2e13
🚧 Update boot.js to same logic as Google Pay 2024-10-07 15:19:22 +02:00
Philipp Stracker
b78a1a112a
🚧 Remove jQuery from boot.js 2024-10-07 15:19:18 +02:00
Philipp Stracker
3d271586a3
♻️ Simplify the address extraction logic 2024-10-07 14:56:09 +02:00
Philipp Stracker
7c56d58fe4
🚧 Swap local object for official config object 2024-10-07 12:37:05 +02:00
Philipp Stracker
0a212edb89
♻️ Further streamline button-manager classes 2024-10-07 12:34:05 +02:00
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
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
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