Commit graph

1766 commits

Author SHA1 Message Date
Narek Zakarian
36f7fd2b75 Fix "Select Carrier" option 2022-08-12 15:42:34 +04:00
Narek Zakarian
318f71b27c Improve js functionality 2022-08-12 15:41:13 +04: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
Narek Zakarian
f859d1425a Remove console.log 2022-08-11 17:59:58 +04:00
Narek Zakarian
3a2d72aa5c fix gitignore & add assets registration functionality. 2022-08-11 17:59:20 +04:00
Narek Zakarian
afc2d31852 fix error handling fro tracking endpoint 2022-08-11 17:57:18 +04:00
Narek Zakarian
a4cb280fe3 Fix PHPcs errors 2022-08-11 17:47:29 +04:00
Narek Zakarian
cd75b08e9e Add tracking info on order complete 2022-08-11 17:37:09 +04: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
Narek Zakarian
3e47e62f78 Document Carriers map 2022-08-11 14:54:38 +04:00
Narek Zakarian
7bd2f80c6a Add appropriate services 2022-08-11 14:22:16 +04:00
Narek Zakarian
054a6b2164 Create module assets 2022-08-11 14:21:38 +04:00
Narek Zakarian
70ab9393e2 Configuration for Carriers list 2022-08-11 14:20:42 +04:00
Narek Zakarian
c04cc5a2bd Render order-tracking metabox 2022-08-11 14:19:53 +04:00
Narek Zakarian
7998699a6b Create order-tracking endpoint 2022-08-11 14:19:03 +04:00
Narek Zakarian
8f45fa1cce Create setting to enable tracking 2022-08-11 14:17:48 +04:00
Narek Zakarian
0154278b1f Create Order-Tracking module 2022-08-11 14:17:12 +04: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
Alex P
0b4e42a30f Refactor js error message creation, call jQuery animation only once 2022-08-10 10:09:06 +03: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
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
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