Commit graph

1416 commits

Author SHA1 Message Date
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
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
d699ba61bf Check gateway enabled to load pui js 2022-07-11 09:34:40 +02:00
Alex P
e73ebbadb6 Fix phpcs warnings 2022-07-11 09:19:27 +03:00
Emili Castells
861d22872c
Merge pull request #724 from woocommerce/PCP-664-1.9.0-test1-feature-capitalizati
[PUI] Feature capitalization not consistent (664)
2022-07-08 14:14:28 +02:00
dinamiko
37c608474b Make pui capitalizacion consistent 2022-07-08 12:01:19 +02:00
dinamiko
31823216e9 Load pui js script only in chekcout page 2022-07-08 11:54:23 +02:00
Emili Castells
b84d6b7f25
Merge pull request #686 from woocommerce/PCP-260-card-type-detection-not-working
Fix credit card detection.
2022-07-08 10:36:13 +02:00
Emili Castells
a746548a65
Merge pull request #691 from woocommerce/PCP-624-pay-later-messaging-displayed-when-variation-is-not-selected
Pay later messaging displayed when variation is not selected
2022-07-08 10:35:22 +02: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
Emili Castells
9dd23f3ccf
Merge pull request #714 from woocommerce/PCP-735-1.9.0-test5---missing-paypal-fee
Missing PayPal fee in WC order details for PUI purchase (735)
2022-07-08 10:31:49 +02:00
Emili Castells
9de45ae393
Merge pull request #711 from woocommerce/PCP-733-1.9.0-test5---pui-gateway-is-dis
PUI gateway is displayed with unsupported store currency (733)
2022-07-08 10:31:04 +02:00
Emili Castells
4c6b7b9659
Merge pull request #719 from woocommerce/pcp-443-fix-vaulted-card-button
Fix vaulted card button on order page
2022-07-08 10:26:53 +02:00
Alex P
2ca64739db Use str value when checking mismatch
Otherwise the check may fail depending on the rounding used when creating the Money objects
2022-07-07 12:36:14 +03:00
Alex P
82adf1933f Refactor money value formatting
Do not duplicate code and send string value for JPY
2022-07-07 12:34:21 +03:00
Alex P
9ab091b945 Fix shipping preference for vaulted card button 2022-07-05 17:30:12 +03:00
Alex P
fff2570124 Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
2022-07-05 14:37:04 +03:00
dinamiko
7aca62a1a3 Create capture entity from order response capture 2022-07-04 14:34:09 +02:00
dinamiko
f013d19047 Add PayPal fee to pui order 2022-07-04 12:20:34 +02:00
dinamiko
86f85eff63 Use shop currency service 2022-07-01 15:50:14 +02:00
dinamiko
b71cff1d57 Check pui currency in payment gateways 2022-07-01 14:57:59 +02:00
Alex P
7f42fe1882 Show basic validation error only for required fields
Otherwise it may trigger on some sites when the field is no longer required but still marked as invalid, e.g. after switching to a country without required state
2022-07-01 11:43:11 +03:00
Alex P
57e4cb51ea Fix form fields type
was broken after #680
2022-06-29 14:41:31 +03: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
dinamiko
eb1fafbc61 Ensure items contains tax 2022-06-27 16:00:08 +02:00
dinamiko
6fab64e658 Revert logging default behavior 2022-06-27 14:25:02 +02:00
dinamiko
933a80b536 Merge trunk 2022-06-27 12:28:43 +02: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
Emili Castells
eed265a909
Merge pull request #690 from woocommerce/pcp-328-mismatch
Reduce the chance of empty order details, fix shipping/discount taxes, support missing product association
2022-06-27 10:33:49 +02:00
Narek Zakarian
2fded7dd69 Merge branch 'trunk' into PCP-624-pay-later-messaging-displayed-when-variation-is-not-selected
# Conflicts:
#	modules/ppcp-button/resources/js/modules/ContextBootstrap/SingleProductBootstap.js
2022-06-23 19:24:30 +04:00
dinamiko
70189f1928 Ensure birth date is not empty 2022-06-23 15:03:26 +02:00
dinamiko
67ff582511 Fix psalm 2022-06-23 14:55:16 +02:00
dinamiko
63cb0bad56 Log pui payment instructions in order 2022-06-23 14:15:11 +02:00
dinamiko
c880815e34 Display pui payment instructions in order metabox 2022-06-23 12:42:53 +02:00
dinamiko
2b4f77818b Fix psalm 2022-06-23 11:50:08 +02:00
dinamiko
035ff32d59 Fail WC order only if PayPal order status is not completed 2022-06-23 11:13:41 +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
dinamiko
5fbe7580d0 Log order status 2022-06-22 11:47:35 +02:00
dinamiko
644604595e Print order status in log 2022-06-22 11:44:28 +02:00
dinamiko
977cd2f713 Add priority and number of arguments to woocommerce_paypal_payments_check_pui_payment_captured action 2022-06-22 11:33:39 +02:00
dinamiko
fff6c84e91 Log order status in payment captured webhook checker 2022-06-22 11:11:16 +02:00