Commit graph

2664 commits

Author SHA1 Message Date
dinamiko
83124faee7 Do not check for digital product on checkout amount allowed 2022-08-17 09:41:38 +02:00
Emili Castells
20880d8250
Merge pull request #787 from woocommerce/refactor-saved-credit-card
Refactor saved credit card payment handler
2022-08-16 11:11:30 +02:00
dinamiko
9454ca4f16 Leave it as it was for now 2022-08-16 11:06:18 +02:00
dinamiko
ce67d78011 Fix stub method 2022-08-16 11:01:13 +02:00
dinamiko
03fa159b43 Consolidate conditional 2022-08-12 11:02:29 +02:00
dinamiko
28d7e5d771 Fix phpcs 2022-08-12 10:56:25 +02:00
dinamiko
76a81b535b Get payer from order instead of customer 2022-08-12 10:38:42 +02:00
dinamiko
0e24b1d0f8 Add unit tests for vaulted card handler 2022-08-12 09:57:47 +02:00
dinamiko
0f47b2ef37 Merge branch 'trunk' into refactor-saved-credit-card 2022-08-11 14:38:26 +02:00
dinamiko
5d8b783abb Move saved card payment logic into vaulting (WIP) 2022-08-11 14:22:12 +02:00
Emili Castells
9fa297cdde
Merge pull request #744 from woocommerce/PCP-808-1-9-1-test-1-improve-pui-gateway-availability-on-pay-for-order-page-with-unsupported-currency
improve PUI gateway availability on pay for order page with unsupported currency (808)
2022-08-10 11:50:39 +02:00
dinamiko
65c8cce2a6 Do not check store currency when registering pui gateway 2022-08-10 10:44:36 +02:00
dinamiko
cf1384f5bd Merge branch 'trunk' into PCP-808-1-9-1-test-1-improve-pui-gateway-availability-on-pay-for-order-page-with-unsupported-currency 2022-08-10 10:28:44 +02:00
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
Emili Castells
1a58288a77
Merge pull request #785 from woocommerce/improve-package-gha
Improve package GH action
2022-08-10 09:02:16 +02:00
Alex P
d16024c522 Prepend current version number when package action input has only suffix 2022-08-10 09:54:03 +03:00
Alex P
f0896433d1 Allow to add output file prefix in package action 2022-08-10 09:52:00 +03:00
Danae Millan
98715a8b90
Merge pull request #780 from woocommerce/release/1.9.2-date
Update release date for 1.9.2
2022-08-09 14:15:56 -03:00
Danae Millan
48306ab0a3 Update release date for 1.9.2 2022-08-09 14:11:45 -03:00
dinamiko
a2e2424046 Add wc order to the class 2022-08-09 15:51:50 +02:00
dinamiko
698f560dab Merge branch 'trunk' into PCP-808-1-9-1-test-1-improve-pui-gateway-availability-on-pay-for-order-page-with-unsupported-currency 2022-08-09 15:45:55 +02:00
dinamiko
93b483f9e1 Set order phone number if exists in request 2022-08-09 12:23:24 +02:00
Emili Castells
01d7ca47e5
Merge pull request #777 from woocommerce/pcp-866-fix-minicart-style
Fix style merging
2022-08-09 11:08:27 +02:00
dinamiko
4d37d53f6a Update changelog 2022-08-09 11:01:41 +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
Danae Millan
c48fc6c879
Merge pull request #776 from woocommerce/revert-775-release/1.9.2-date
Revert "Update release date for 1.9.2"
2022-08-08 16:59:08 -03:00
Danae Millan
611fc63aeb
Revert "Update release date for 1.9.2" 2022-08-08 16:50:20 -03:00
Danae Millan
b2abc5497b
Merge pull request #775 from woocommerce/release/1.9.2-date
Update release date for 1.9.2
2022-08-08 15:44:59 -03:00
Danae Millan
012204d393 Update release date for 1.9.2 2022-08-08 15:33:55 -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
Emili Castells
59e257679f
Merge pull request #769 from woocommerce/PCP-850-during-pay-pal-express-checkout-pui-is-available-as-a-payment-method
During PayPal express checkout all gateways are available as a payment method (850)
2022-08-08 09:26:53 +02:00
dinamiko
1d6a6651d8 Remove changelog entries 2022-08-08 09:20:18 +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
dinamiko
0771b4082c Update changelog 2022-08-08 09:14:21 +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
Emili Castells
1ca80d386f
Merge pull request #770 from woocommerce/pcp-849-fix-unneeded-separate-rendering
Revert removal of gateway status check
2022-08-08 09:03:36 +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