Commit graph

1625 commits

Author SHA1 Message Date
dinamiko
b57567cf84 Fix undefined index on billing phone 2022-08-08 15:48:36 +02:00
dinamiko
e65dab755a Display phone field in pui gateway when is optional in checkout form 2022-08-08 15:45:54 +02:00
dinamiko
a86abb4cec Merge branch 'trunk' into PCP-850-during-pay-pal-express-checkout-pui-is-available-as-a-payment-method 2022-08-08 09:15:01 +02:00
Emili Castells
95a4935294
Merge pull request #768 from woocommerce/fix-cart-buttons
Fallback to child nodes check in isAlreadyRendered when possible (851)
2022-08-08 09:06:54 +02: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
dinamiko
aa18a0982c Do not check ajax for showing gateways 2022-08-05 09:06:15 +02:00
dinamiko
f11f151e65 Disable gateways only for non PayPal funding sources 2022-08-04 11:25:12 +02:00
Alex P
a893a1de8e Fallback to child nodes check in isAlreadyRendered when possible
Otherwise it breaks at least in cart when updating shipping.
2022-08-04 10:39:27 +03:00
Alex P
878f271ae9 Update transaction id after manual capture 2022-08-03 14:21:33 +03:00
dinamiko
b98400c6ce Improve phpcs comment 2022-08-03 11:25:08 +02:00
Alex P
40365c5afb Do not show card button gateway if paypal gateway disabled 2022-08-03 09:37:40 +03:00
dinamiko
ca6f3dd088 Fix psalm 2022-08-02 16:58:47 +02:00
dinamiko
5931c7d304 Merge branch 'trunk' into PCP-799-pui-feature-request-add-option-for-a-phone-number-field-next-to-the-birth-date-field 2022-08-02 16:32:27 +02:00
Alex P
926e47a57f Disable card button feature via constant 2022-08-02 13:59:48 +03:00
dinamiko
e14fc10141 Fix wrong disabling oxxo 2022-08-02 12:24:22 +02:00
dinamiko
d5e2d8585c Disable oxxo feature via constant 2022-08-02 12:11:18 +02:00
Emili Castells
b05112d056
Merge pull request #757 from woocommerce/PCP-771-1-9-0-test-6-dcc-causes-pay-upon-invoice-gateway-to-disappear-after-checkout-validation-error
DCC causes other gateways to disappear after checkout validation error
2022-08-02 11:36:33 +02:00
dinamiko
11c96608f1 Fix merge conflict 2022-08-01 16:05:28 +02:00
Alex P
0aa16b4f4a Handle PAYER_ACTION_REQUIRED 2022-08-01 16:58:16 +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
Alex Pantechovskis
168e8030c0
Merge pull request #754 from woocommerce/pcp-839-unavailable-gateways-sections
Refactor sections renderer, hide unavailable sections
2022-07-28 17:24:02 +03:00
Alex Pantechovskis
b5b2da0183
Merge pull request #755 from woocommerce/PCP-819-scripts-loaded-on-all-pages
Fix the script loading check.
2022-07-28 17:23:09 +03:00
Narek Zakarian
6b8014e5b1 Fix the JS file 2022-07-28 16:33:24 +04: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
63c2073549 Refactor sections renderer, hide unavailable sections 2022-07-28 10:07:55 +03: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
Alex P
0a9c7bfaf9 Add oxxo icon 2022-07-27 16:03:17 +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
07e1fec6fb Show OXXO settings tab 2022-07-26 17:05:03 +03:00
Alex P
f88c182737 Fix oxxo default title/description 2022-07-26 17:00:32 +03:00
Alex P
1049fda586 Merge branch 'trunk' into PCP-726-add-oxxo-apm-alternative-payment 2022-07-26 16:59:27 +03:00
Alex Pantechovskis
85e441f8cd
Merge pull request #713 from woocommerce/PCP-640-voiding-capturing-at-paypal-does-not-update-order-status
Add PAYMENT.AUTHORIZATION.VOIDED event to a refund handler
2022-07-26 16:26:41 +03:00
Alex Pantechovskis
5a1c65d3e9
Merge pull request #708 from woocommerce/PCP-581-capture-virtual-only-orders-problem-for-subscriptions
Capture virtual renewal orders functionality for subscription products
2022-07-26 16:22:00 +03:00
Alex Pantechovskis
cfc549958d
Merge pull request #699 from woocommerce/PCP-673-store-customer-id-for-vaulted-payment
Store the customer id for vaulted payment method in usermeta
2022-07-26 16:09:30 +03:00
Alex P
e55e2d9c81 Merge branch 'trunk' into pcp-697-separate-gateway 2022-07-26 15:28:27 +03:00
Alex P
9215ac24a4 Show notice if card button gateway without paypal gateway 2022-07-26 15:28:15 +03:00
Alex Pantechovskis
2257a6a680
Merge pull request #740 from woocommerce/pcp-789-improve-validation-message
Add fields to the basic js validation error message
2022-07-26 11:16:23 +03:00
Alex P
c2d0a3aa69 Add an option to hide card button gateway if not needed 2022-07-26 10:58:21 +03:00
Alex P
ab69f40220 Make Enable checkbox text more consistent 2022-07-26 10:31:53 +03:00
Alex P
55b2adf2aa Show billing data mode in card button gateway settings 2022-07-25 15:47:38 +03:00
Alex P
73dc768955 Merge branch 'trunk' into pcp-697-separate-gateway 2022-07-25 11:08:43 +03:00
dinamiko
55d57b59ce Ensure order-pay exists on query vars 2022-07-22 12:18:17 +02:00
dinamiko
bad4ed3a64 Check order currency on pay for order 2022-07-22 11:24:10 +02:00
Alex P
8212605926 Make js validation error message like WC message 2022-07-22 11:48:53 +03:00
dinamiko
5a80c45a8d Do not allow bith date older than 100 years 2022-07-22 10:23:12 +02:00
dinamiko
c802d5dea8 Make string translatable 2022-07-21 16:31:13 +02:00