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
c27d49d86d
Fix psalm
2022-07-05 11:38:14 +02:00
dinamiko
2b67884900
Introduce oxxo payment (WIP)
2022-07-05 11:30:20 +02:00
Narek Zakarian
b15c03d418
Fix the intent value for single products.
2022-07-04 17:30:29 +04: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
Narek Zakarian
3472a1709f
Add PAYMENT.AUTHORIZATION.VOIDED event to a refund handler
2022-07-01 19:01:21 +04: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
Narek Zakarian
90c2a01350
Capture virtual renewal orders functionality for subscriptions
2022-06-29 16:52:19 +04: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
Narek Zakarian
036e7d0c33
Fix button_renderer logic & the behavior for single products
2022-06-27 15:47:21 +04: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
Narek Zakarian
4b6e2ab2d5
Store the customer id for vaulted payment method in usermeta
2022-06-23 19:05:55 +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
dinamiko
fcf9b6b19e
Add phone number validation for non-numeric characters
2022-06-22 10:48:56 +02:00
dinamiko
d7363a0d44
Fix phpcs
2022-06-21 09:19:21 +02:00
Alex P
ba432b9705
Fix basic validation
...
Use :visible in both selectors, otherwise it may result in an unwanted error if something triggered validation for hidden fields.
2022-06-20 18:27:04 +03:00
dinamiko
500487f5f9
Check if WC invalid class is visible
2022-06-20 17:22:28 +02:00
Alex P
84a5d9cd0f
Merge branch 'trunk' into pcp-328-mismatch
2022-06-20 16:35:37 +03:00
Narek Zakarian
20c3c6e345
Fix messaging display when the buttons are disabled.
2022-06-20 17:12:58 +04:00
Narek Zakarian
9da3f112bc
Add the hiding messages callback to single product handler
2022-06-20 15:28:07 +04:00
Narek Zakarian
9c85fce2b5
Merge branch 'PCP-625-paypal-smart-buttons-not-display-when-parent-is-out-of-stock' into PCP-624-pay-later-messaging-displayed-when-variation-is-not-selected
2022-06-20 14:10:51 +04:00
dinamiko
3973bd4a3b
Fix psalm
2022-06-20 10:39:18 +02:00
dinamiko
114d7124ae
Merge branch 'PCP-417-new-feature---pay-upon-invoice' of github.com:woocommerce/woocommerce-paypal-payments into PCP-417-new-feature---pay-upon-invoice
2022-06-20 10:32:03 +02:00
dinamiko
40cc95d895
Enable logging by default for now
2022-06-20 10:31:39 +02:00
emilicastells
d6bd02c9c1
Make logo url mandatory field
2022-06-17 16:59:49 +02:00
emilicastells
b362f295f8
Add custom validation for phone number
2022-06-17 16:04:57 +02:00
Narek Zakarian
4639a385d6
Fix credit card detection.
2022-06-17 17:19:03 +04:00
Alex P
af15246a96
Fix order fees total
2022-06-17 09:41:05 +03:00
dinamiko
0262549382
Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice
2022-06-16 11:12:41 +02:00
Alex P
02c84e43e0
Improve item total/price retrieval
...
Less calculations, also fee was not included in item price for subs with fee
2022-06-15 21:33:25 +03:00
Alex P
24586d0910
Send shipping/discount taxes as tax
2022-06-15 16:28:44 +03:00