emilicastells
dd3918b146
Extract vault logic into service
2023-01-04 12:40:24 +01:00
emilicastells
8b58eb0566
Extract intent and context logic into services
2023-01-04 12:13:26 +01:00
emilicastells
35e3e97f88
Merge branch 'PCP-591-save-and-display-vaulted-payment-methods-in-woo-commerce-native-endpoint' into PCP-991-detach-vaulting-from-wc-subscriptions-support
2022-12-23 12:30:38 +01: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
emilicastells
2b3b4dcce2
Detach vaulting from subscriptions (WIP)
2022-11-22 13:35:28 +01: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
Narek Zakarian
54596fc108
Remove unnecessary throw tag from docblock
2022-11-04 12:42:50 +04: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
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
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
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
Narek Zakarian
b15c03d418
Fix the intent value for single products.
2022-07-04 17:30:29 +04: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
Narek Zakarian
20c3c6e345
Fix messaging display when the buttons are disabled.
2022-06-20 17:12:58 +04:00
Alex P
c59683b5ea
Fix phpcs
...
I guess the @since comments are not very critical for our hooks,
and anyway it should not be an error, finding the first version for every hook would take lots of time now.
not sure if there is a better way to suppress it in phpcs
2022-06-15 16:20:43 +03:00
Emili Castells
2687365b5d
Merge pull request #662 from woocommerce/pcp-708-fix-free-trial-disable-funding
...
Fix disable-funding when free trial but dcc disabled
2022-06-14 11:51:58 +02:00
Emili Castells
22b7aed89a
Merge pull request #670 from woocommerce/PCP-625-paypal-smart-buttons-not-display-when-parent-is-out-of-stock
...
If product has inStock variation then allow button rendering
2022-06-14 11:50:01 +02:00
Alex P
993e109c49
Add basic input validation before opening PayPal popup
2022-06-03 16:27:53 +03:00
Narek Zakarian
ebda39d130
If product has inStock variation then allow buttons
2022-06-01 18:17:51 +04:00
Alex P
f54451f39c
Fix disable-funding when free trial but dcc disabled
...
was sending array values instead of keys
2022-05-30 15:09:41 +03:00
dinamiko
4ca2e637ed
Merge trunk and fix conflicts
2022-05-17 17:05:00 +02:00
dinamiko
f20b539df9
Merge trunk and fix conflicts
2022-05-17 10:59:39 +02:00
Emili Castells
fc31202305
Merge pull request #607 from woocommerce/PCP-632-smart-buttons-not-loading
...
Fix the button render logic when free product is in cart.
2022-05-17 10:45:09 +02:00
Alex P
fc3ba70d4b
Extract filter to a function
2022-05-11 18:16:50 +03:00