Commit graph

1534 commits

Author SHA1 Message Date
Emili Castells
46352ba16e
Merge pull request #765 from woocommerce/pcp-841-card-button-no-paypal
Do not show card button gateway if PayPal gateway disabled
2022-08-10 09:21:17 +02:00
Emili Castells
79acb04e73
Merge pull request #742 from woocommerce/PCP-799-pui-feature-request-add-option-for-a-phone-number-field-next-to-the-birth-date-field
PUI feature request: add option for a phone number field next to the Birth Date field (799)
2022-08-10 09:20:03 +02:00
Emili Castells
6704bc1f53
Merge pull request #767 from woocommerce/pcp-834-id-after-manual-capture
Update transaction id after manual capture
2022-08-10 09:19:08 +02:00
Emili Castells
8f16fb92aa
Merge pull request #773 from woocommerce/pcp-515-tabs
Render sections as tabs instead of links
2022-08-10 09:16:28 +02:00
dinamiko
3470010958 Fix phpcs 2022-08-10 09:10:38 +02:00
Emili Castells
988ca57cf4
Merge pull request #779 from woocommerce/pcp-864-fix-exception-note
Do not include full path in exception
2022-08-10 09:06:43 +02:00
Alex P
3e014bad84 Render tabs later (after WC Payments links) 2022-08-10 10:04:33 +03:00
Alex P
63e1d113ff Render sections as tabs instead of links 2022-08-10 10:04:33 +03:00
dinamiko
93b483f9e1 Set order phone number if exists in request 2022-08-09 12:23:24 +02:00
Alex P
4f59956fca Do not include full path in exception 2022-08-09 11:14:20 +03:00
Alex P
3b33ffe903 Fix style merging 2022-08-09 09:44:26 +03:00
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