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
Alex P
c59683b5ea
Fix phpcs
...
I guess the @since comments are not very critical for our hooks,
and anyway it should not be an error, finding the first version for every hook would take lots of time now.
not sure if there is a better way to suppress it in phpcs
2022-06-15 16:20:43 +03:00
Alex P
770f8e558b
Do not send tax in each item
...
Looks like it is not displayed anyway, and it causes mismatch + cannot send shipping/discount taxes as tax
2022-06-15 10:14:42 +03:00
Alex P
0e82a5f6c9
Fix rounding when checking total mismatch
2022-06-15 09:58:57 +03:00
dinamiko
5a6113f714
Add #639 to changelog and log not getting PayPal order error
2022-06-14 16:18:53 +02:00
Emili Castells
ceb95952a9
Merge pull request #672 from woocommerce/PCP-681-refund-failed-no-country-given-f
...
When creating `Address` do not throw but set empty string when no country code is received
2022-06-14 16:08:17 +02:00
Emili Castells
259f824dac
Merge pull request #657 from woocommerce/PCP-687-do-not-call-partner-referrals-si
...
Cache partner referrals signup links
2022-06-14 15:05:15 +02:00
dinamiko
e153e2be35
Merge trunk
2022-06-14 15:03:19 +02:00
Emili Castells
4ff581a5f7
Merge pull request #655 from woocommerce/PCP-694-smart-button-not-visible-on-single-product-page
...
Convert the "," separator into "." before checking the price amount.
2022-06-14 11:55:26 +02:00
Emili Castells
a8fb55daa4
Merge pull request #676 from woocommerce/PCP-711-capture-virtual-only-orders-intent-problem
...
Fix the order status for virtual & downloadable products
2022-06-14 11:53:44 +02:00
Emili Castells
2687365b5d
Merge pull request #662 from woocommerce/pcp-708-fix-free-trial-disable-funding
...
Fix disable-funding when free trial but dcc disabled
2022-06-14 11:51:58 +02:00
Emili Castells
22b7aed89a
Merge pull request #670 from woocommerce/PCP-625-paypal-smart-buttons-not-display-when-parent-is-out-of-stock
...
If product has inStock variation then allow button rendering
2022-06-14 11:50:01 +02:00
Emili Castells
d0fbfacf49
Merge pull request #668 from woocommerce/PCP-624-pay-later-messaging-displayed-when-variation-is-not-selected
...
Do not render messages when buttons are not rendered.
2022-06-14 11:49:12 +02:00
Emili Castells
e9e49fb8f0
Merge pull request #680 from woocommerce/pcp-579-email-validation
...
Fix form decoding and email handling
2022-06-14 11:15:53 +02:00
Emili Castells
3e28553201
Merge pull request #675 from woocommerce/pcp-448-quick-fix-validation
...
Add basic input validation before opening PayPal popup
2022-06-14 11:11:31 +02:00