Commit graph

630 commits

Author SHA1 Message Date
Narek Zakarian
0e3b801241
Merge branch 'PCP-1083-update-standard-payments-tab-settings' into PCP-190-override-language-used-to-display-PayPal-buttons 2022-12-19 15:50:08 +04:00
emilicastells
7022924d7e
Merge branch 'trunk' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2022-12-14 14:36:07 +01:00
Alex P
80428f1eb1
Execute WC validation only for buttons in checkout 2022-12-12 09:18:37 +02:00
Narek Zakarian
3398e46329
Allow general/default styling for smart buttons 2022-12-05 18:12:15 +04:00
Narek Zakarian
da07c3b5fa
Refactor smart button with new settings 2022-12-05 16:53:30 +04:00
Alex P
428d4f700b
Fix shipping address validation 2022-11-30 12:44:35 +02:00
Alex P
308ce11674
Set $_POST before validation 2022-11-23 10:34:19 +02:00
emilicastells
2b3b4dcce2
Detach vaulting from subscriptions (WIP) 2022-11-22 13:35:28 +01:00
Narek Zakarian
629292c85a Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-11-15 14:40:23 +04:00
Narek Zakarian
e189325766 Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-button/services.php
2022-11-09 19:16:59 +04:00
Narek Zakarian
ac420a6d7e Fix Pay Later button admin preview 2022-11-09 17:58:25 +04:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
Narek Zakarian
54596fc108 Remove unnecessary throw tag from docblock 2022-11-04 12:42:50 +04:00
Emili Castells
e6acd1c27f
Merge pull request #923 from woocommerce/fix/one-page-checkout-compatibility
Fix button positioning for products with One Page Checkout Extension enabled
2022-11-02 16:39:50 +01:00
Narek Zakarian
cc1fb62a6f Add button and message previews 2022-11-02 17:34:53 +04:00
Narek Zakarian
3e82fd9996 Merge branch 'trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-10-31 16:07:17 +04:00
Narek Zakarian
832f7a41cd Refactor Pay Later to read from new tab setting on frontend 2022-10-31 15:59:17 +04:00
Alex P
91636a9dcc Execute server-side WC validation when clicking button (order creation) 2022-10-27 09:55:25 +03:00
Danae Millan
5a5933ce91 Fix button positioning for products with one page checkout enabled 2022-10-24 12:26:26 +03:00
Alex P
4ca9639fb1 Add CSS file for non-DCC rules 2022-10-20 13:13:42 +03:00
Narek Zakarian
13ac2a3551 Refactor to remove second order creation part 2022-09-07 19:28:16 +04:00
Alex P
3b33ffe903 Fix style merging 2022-08-09 09:44:26 +03:00
Alex P
65b435135b Revert removal of gateway status check
Looks like it was accidentally removed after #704 merge conflict.
Without it we always render the hidden area for separate card gateway, so the check in JS fails and we always render all standard buttons separately in checkout, which may result in wrong style and other issues.
2022-08-05 17:14:09 +03:00
Alex Pantechovskis
36874966b1
Merge pull request #704 from woocommerce/PCP-677-smart-button-not-visible-on-single-product-when-subscription-in-cart
Fix button_renderer logic & the behavior for single products
2022-07-29 17:29:42 +03:00
Alex Pantechovskis
061ca9e7fd
Merge pull request #752 from woocommerce/pcp-831-fix-free-trial-card-button
Do not remove card funding source for free trials if card button enabled
2022-07-28 17:24:36 +03:00
Narek Zakarian
a1454dbfd7 Fix the script loading check. 2022-07-28 15:51:00 +04:00
Narek Zakarian
de21866712 Fix the script loading check. 2022-07-28 15:05:35 +04:00
Alex P
615e96c409 Do not remove card funding source for free trials if card button enabled 2022-07-27 16:26:27 +03:00
Narek Zakarian
65caa42872 Fix PHPCS problems 2022-07-26 19:11:07 +04:00
Narek Zakarian
35849315c4 Merge 2022-07-26 19:04:58 +04:00
Narek Zakarian
31b5ca90e8 Merge remote-tracking branch 'origin/trunk' into PCP-677-smart-button-not-visible-on-single-product-when-subscription-in-cart 2022-07-26 18:22:41 +04:00
Alex P
e55e2d9c81 Merge branch 'trunk' into pcp-697-separate-gateway 2022-07-26 15:28:27 +03:00
Alex P
8212605926 Make js validation error message like WC message 2022-07-22 11:48:53 +03:00
Alex P
88838ce5ca Add fields to the basic js validation error message 2022-07-21 10:13:59 +03:00
Alex P
0c17c6b1de Allow to choose one of 3 card billing data handling modes
also handle it in one place, no need to mess with payer parsing and JS
2022-07-20 17:28:55 +03:00
Alex P
429260ca34 Do not disable card funding source if card gateway enabled 2022-07-19 11:14:53 +03:00
Alex P
619e9d2552 Change address handling for card button
Make the name field to always appear and send at least one address
2022-07-19 09:24:19 +03:00
Alex P
d4e8bd453c Add card button gateway 2022-07-19 09:20:26 +03:00
Alex P
0ff11054f8 Refactor button renderer settings handling 2022-07-18 16:27:06 +03:00
Alex P
8c77258828 Add option for sending billing data 2022-07-18 16:24:53 +03:00
Emili Castells
37458baed5
Merge pull request #692 from woocommerce/PCP-199-pay-later-messaging-only-display-with-smart-buttons
Fix messaging display when the buttons are disabled.
2022-07-08 10:32:48 +02:00
Alex P
9ab091b945 Fix shipping preference for vaulted card button 2022-07-05 17:30:12 +03:00
Alex P
fff2570124 Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
2022-07-05 14:37:04 +03:00
Narek Zakarian
b15c03d418 Fix the intent value for single products. 2022-07-04 17:30:29 +04:00
Alex P
57e4cb51ea Fix form fields type
was broken after #680
2022-06-29 14:41:31 +03:00
Alex P
be9c624264 Add filter allowing to disable the basic client-side validation
In case some conflicts occur.
2022-06-28 12:09:18 +03:00
Narek Zakarian
036e7d0c33 Fix button_renderer logic & the behavior for single products 2022-06-27 15:47:21 +04:00
Emili Castells
b118c4b60c
Merge pull request #696 from woocommerce/pcp-479-remove-dcc-continuation
Do not enter the checkout continuation state for dcc
2022-06-27 10:37:39 +02:00
Alex P
5e547c79cc Do not enter the checkout continuation state for dcc
it supposed to be used only for PayPal payments started on the product or cart pages
2022-06-22 17:22:40 +03:00
Alex P
84a5d9cd0f Merge branch 'trunk' into pcp-328-mismatch 2022-06-20 16:35:37 +03:00