Commit graph

1222 commits

Author SHA1 Message Date
Philipp Stracker
c75d9ce56f
🐛 Improve error logging and dependency detection 2024-06-11 15:23:06 +02:00
Emili Castells Guasch
73bc86f9f5 Merge trunk 2024-06-11 10:52:10 +02:00
Philipp Stracker
6f73e82d3e
Preview buttons can be static
When the current page does not contain any edit-fields for the current APM preview button, it enters “static” mode. Static buttons ignore most update requests, and render as they were defined during page load
2024-06-07 21:14:12 +02:00
Philipp Stracker
33c6c06e85
🐛 Fix button specific config-preparation 2024-06-07 15:42:16 +02:00
Philipp Stracker
a01f1ea77f
🔀 Merge branch 'trunk' 2024-06-07 12:32:32 +02:00
Philipp Stracker
180afaad89
♻️ Fix logic in preview button base classes
- Promise-based initialization is executed in correct order
- Support to redraw single APM type of button
- Fix the button style
- Simplify the PreviewButton code
2024-06-07 12:19:39 +02:00
Emili Castells
120e76b46a
Merge pull request #2246 from woocommerce/PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing
Add block Checkout compatibility to Advanced Card Processing (2722)
2024-06-06 09:53:45 +02:00
Philipp Stracker
202f308850
🔀 Merge branch 'trunk' into PCP-3179-apple-pay-google-pay-buttons-no-longer-visible-in-standard-payments-button-previews-after-moving-them-to-advanced-card-processing-tab 2024-06-05 18:43:47 +02:00
Philipp Stracker
ebb1f6962f
♻️ Create generic base classes for preview buttons 2024-06-05 17:58:54 +02:00
Emili Castells Guasch
4ee33d5fd0 Merge trunk 2024-06-04 15:59:00 +02:00
Emili Castells Guasch
78794594a5 Merge branch 'trunk' into PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing 2024-06-03 15:17:37 +02:00
Emili Castells
a34ada2f12
Merge pull request #2296 from woocommerce/PCP-3133-unsuccessfully-payment-with-coupon-from-short-cart-when-require-final-confirmation-on-checkout-is-not-enabled
Calculate totals after adding shipping to include taxes (3133)
2024-06-03 14:26:17 +02:00
Emili Castells
3aba8d7dea
Merge pull request #2259 from woocommerce/PCP-3136-enable-shipping-callback-for-wc-subscriptions
Enable shipping callback for WC subscriptions (3136)
2024-06-03 14:25:36 +02:00
Narek Zakarian
4967c472e7
Update the shipping option for subscriptions on address change 2024-06-03 15:27:01 +04:00
Narek Zakarian
dccb038e5e
Calculate totals after adding shipping to include taxes. 2024-05-31 18:46:21 +04:00
Emili Castells Guasch
0c90952b29 Merge branch 'trunk' into PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing 2024-05-30 14:08:39 +02:00
Daniel Dudzic
709871820f
Fix Smart Buttons on Elementor checkout 2024-05-29 15:59:56 +02:00
Emili Castells Guasch
4c9ccebd10 Merge branch 'fastlane' into PCP-3172-fastlane-send-js-logs-to-woo-commerce-logger 2024-05-29 12:55:06 +02:00
Narek Zakarian
84616d07da
dont need to pass the payment source 2024-05-27 19:57:48 +04:00
Narek Zakarian
49d943e25b
use funding source instead of payment source as they are same 2024-05-27 19:57:30 +04:00
Narek Zakarian
0245fa640b
Determine if venmo button is clicked and do not pass shipping callback handlers 2024-05-27 19:57:00 +04:00
Narek Zakarian
802c13cf8e
Enable the Shipping Callback handlers 2024-05-27 17:46:02 +04:00
Daniel Dudzic
a3c610bc1c
Replace crypto.randomUUID with a dependency (3165) 2024-05-27 11:33:34 +02:00
Emili Castells Guasch
ff3091b3a6 Use uuid for data-client-metadata-id 2024-05-24 17:20:44 +02:00
Narek Zakarian
ac42b18592
Fix the Psalm errors 2024-05-24 19:08:44 +04:00
Narek Zakarian
bd745cb7d4
Do not update shipping when subscription 2024-05-24 18:49:10 +04:00
Emili Castells Guasch
b95572bdad Merge branch 'trunk' into PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing 2024-05-23 17:29:18 +02:00
Narek Zakarian
796196bbbe
Remove unnecessary console log 2024-05-22 21:14:36 +04:00
Narek Zakarian
8301da1550
Do not add shipping handlers when option is checked 2024-05-22 21:02:42 +04:00
Narek Zakarian
1de6039d5b
Merge branch 'trunk' into PCP-3136-enable-shipping-callback-for-wc-subscriptions 2024-05-22 15:58:35 +04:00
Emili Castells Guasch
13b5338627 Merge branch 'trunk' into PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing 2024-05-22 13:14:53 +02:00
Narek Zakarian
43f938f0a4
Fix payment with standard card button gateway + shipping callback 2024-05-21 20:48:13 +04:00
Narek Zakarian
feab77ed03
Create subscription order 2024-05-21 18:42:03 +04:00
Narek Zakarian
1de72ed0bf
allow skipping confirmation page for subscriptions 2024-05-21 18:41:27 +04:00
Emili Castells Guasch
a42488b41d Do not use custom ajax endpoint for get order from session 2024-05-20 18:03:31 +02:00
Emili Castells Guasch
e93e9db3be Add place order logic (WIP) 2024-05-20 16:37:11 +02:00
Narek Zakarian
9a55140802
Allow shipping callback with subscriptions 2024-05-20 15:29:56 +04:00
Emili Castells Guasch
4b3cd53f73 Merge branch 'trunk' into PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing 2024-05-17 17:21:12 +02:00
Narek Zakarian
4ab2c0ff48
Add filter to on and off the toggle 2024-05-17 18:07:06 +04:00
Narek Zakarian
e593e1799d
implement toggle "Final Confirmation" checkbox 2024-05-17 17:19:01 +04:00
Narek Zakarian
771f67a82f
fix coding styles 2024-05-17 15:51:17 +04:00
Narek Zakarian
b4271f64de
fix coding styles 2024-05-17 15:50:33 +04:00
Narek Zakarian
e95faf565f
Check for venmo and vaulting before creating wc order 2024-05-17 00:25:36 +04:00
Narek Zakarian
2ad6df385c
Check for venmo and vaulting before creating wc order 2024-05-17 00:25:05 +04:00
Narek Zakarian
1561272657
Check for venmo and vaulting before creating wc order 2024-05-17 00:24:51 +04:00
Narek Zakarian
20ccef8b28
Check for venmo and vaulting for shipping handlers 2024-05-17 00:24:22 +04:00
Narek Zakarian
7a5e56eb4c
Pass the vault_enabled to JS 2024-05-17 00:07:13 +04:00
Narek Zakarian
a820da356d
Fix setting variations 2024-05-16 17:21:17 +04:00
Narek Zakarian
21bc7be648
do not process order from block pages 2024-05-15 22:06:52 +04:00
Narek Zakarian
c43af44a2f
Apply coupons 2024-05-15 15:30:39 +04:00