Commit graph

7216 commits

Author SHA1 Message Date
Daniel Dudzic
5ef71bea6e
Revert config.yaml change 2024-10-10 13:49:14 +02:00
Daniel Dudzic
536445e1a8
Revert package.json change 2024-10-10 13:25:57 +02:00
Daniel Dudzic
0eebbb2210
Revert unrelated file changes 2024-10-10 13:23:59 +02:00
Daniel Dudzic
5ed73bdbce
Merge branch 'PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor-v2' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor-v2 2024-10-10 12:25:48 +02:00
Daniel Dudzic
1eb754a13b
Remove console logs 2024-10-10 12:25:44 +02:00
Philipp Stracker
655606e2ea
💩 Hide GooglePay loading animation in editor 2024-10-10 12:24:09 +02:00
inpsyde-maticluznar
7c111906ab
Position the card icons beside the label instead of beneath the fields on the checkout form. 2024-10-10 07:22:22 +02:00
Alex P.
340923089d
Merge branch 'trunk' into PCP-3535-fix-editor-paypal-buttons-grid 2024-10-09 23:21:20 +03:00
Philipp Stracker
5f6447d786
💩 A “working” GooglePay block editor preview… 2024-10-09 18:58:55 +02:00
Daniel Dudzic
3171e943ba
Try to fix Google Pay in the editor 2024-10-09 16:38:11 +02:00
Philipp Stracker
1b1e2434b0
🔀 Merge branch 'trunk' 2024-10-09 16:26:40 +02:00
Philipp Stracker
a467402ae8
Apply new namespaced script loading
# Conflicts:
#	modules/ppcp-applepay/resources/js/ApplepayManager.js
#	modules/ppcp-applepay/resources/js/boot.js
2024-10-09 15:42:19 +02:00
Philipp Stracker
b6111e1774
🐛 Add missing event handler to payment button 2024-10-09 15:04:03 +02:00
Philipp Stracker
e0f0ec973b
🚧 Migrate the addButton logic 2024-10-09 15:02:14 +02:00
Philipp Stracker
a4b3f2a079
🚧 Migrate eligibility check 2024-10-09 14:39:13 +02:00
Philipp Stracker
74e806535e
🚧 Clean up the init logic 2024-10-09 14:38:43 +02:00
Philipp Stracker
ca93e8e56d
🚧 Remove more legacy code 2024-10-09 14:31:36 +02:00
Philipp Stracker
8aa4d47b68
♻️ Start ApplePaySession after handlers were added
Apple Pay SDK docs hint that “begin()” must be called after setting up the event handlers.
2024-10-09 14:30:08 +02:00
Philipp Stracker
d1607e3ebc
🔥 Remove incorrect validation rule 2024-10-09 14:07:54 +02:00
Philipp Stracker
90542293d8
🚧 Remove duplicate getters 2024-10-09 14:04:43 +02:00
Philipp Stracker
e95321cf82
🐛 Fix incorrect validation rule 2024-10-09 14:04:21 +02:00
Emili Castells
472c6c4700
Merge pull request #2681 from woocommerce/PCP-3777-v2-fatal-error-on-page-edit
Error when wc session is null (3777)
2024-10-09 12:02:04 +02:00
Emili Castells Guasch
9bf71c2edf Check if wc session is not null 2024-10-09 11:33:01 +02:00
Emili Castells
fcddaa1204
Merge pull request #2677 from woocommerce/PCP-3777-fatal-error-on-page-edit
Fatal error on page edit (3777)
2024-10-09 11:02:13 +02:00
Emili Castells Guasch
b5ca63308a Check if method exist in session 2024-10-09 09:44:20 +02:00
inpsyde-maticluznar
0611098b92
Place all task registration logic inside the init action 2024-10-09 09:36:29 +02:00
Alex P
22945c4df5
Add void button 2024-10-09 10:35:42 +03: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
Emili Castells
be6b8a39ec
Merge pull request #2675 from woocommerce/PCP-3771-axo-refactor-pay-pal-script-loading-to-prevent-conflicts
Add a new namespaced script loader (3771)
2024-10-08 14:33:36 +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