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
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
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
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
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
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
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
Narek Zakarian
4639a385d6
Fix credit card detection.
2022-06-17 17:19:03 +04: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
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
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
dinamiko
503a067f69
Fix typo
2022-06-14 11:06:28 +02:00
dinamiko
5de360c869
Fix conflicts
2022-06-14 10:59:47 +02:00
Alex P
bb86f1b8e6
Throw on createOrder failure to stop PayPal from attempting to continue
2022-06-08 16:16:13 +03:00
Alex P
fdbbe6afb3
Send form data as json object to fix decoding
...
was decoded twice, in RequestData and by parse_str
2022-06-08 15:59:01 +03:00
dinamiko
8a0b439e5f
Add order status CREATED
to order processor check
2022-06-07 12:17:35 +02:00
Alex P
993e109c49
Add basic input validation before opening PayPal popup
2022-06-03 16:27:53 +03:00
dinamiko
0a993f854d
Do not check order approved status if it does not contains physical goods
2022-06-02 15:11:01 +02:00
Narek Zakarian
ebda39d130
If product has inStock variation then allow buttons
2022-06-01 18:17:51 +04:00
Narek Zakarian
6effc222f2
Do not render messages when buttons are not rendered.
2022-06-01 15:43:49 +04:00
Alex P
f54451f39c
Fix disable-funding when free trial but dcc disabled
...
was sending array values instead of keys
2022-05-30 15:09:41 +03:00
Narek Zakarian
b9cdc56ad6
Convert the "," separator into "." before checking the price amount.
2022-05-24 18:35:39 +04:00
dinamiko
4ca2e637ed
Merge trunk and fix conflicts
2022-05-17 17:05:00 +02:00
Emili Castells
b7c4f23b62
Merge pull request #641 from woocommerce/PCP-580-manual-orders-return-an-error-for-guest-users
...
Store order info in wc order meta to get if there is no session.
2022-05-17 13:55:35 +02:00
Emili Castells
5cd439fa20
Merge pull request #633 from woocommerce/pcp-615-invalid-address
...
Retry without shipping field when got invalid address error
2022-05-17 12:53:00 +02:00
dinamiko
f20b539df9
Merge trunk and fix conflicts
2022-05-17 10:59:39 +02:00
Emili Castells
fc31202305
Merge pull request #607 from woocommerce/PCP-632-smart-buttons-not-loading
...
Fix the button render logic when free product is in cart.
2022-05-17 10:45:09 +02:00
Alex P
d63f89a4a2
Retry without shipping field when got invalid address error
2022-05-16 15:12:40 +03:00
Alex P
fc3ba70d4b
Extract filter to a function
2022-05-11 18:16:50 +03:00
Narek Zakarian
ab0e90dab0
Store order info in wc order meta to get if there is no session.
2022-05-10 18:46:40 +04:00
leonardo lopes de albuquerque
e6775ce3fe
Merge pull request #353 from helgatheviking/issues/234-supports
2022-05-10 10:05:59 -03:00
helgatheviking
0052aacbbc
Rename new filter to woocommerce_paypal_payments_product_supports_payment_request_button to avoid abbreviates
2022-05-09 13:19:32 -06:00
Narek Zakarian
199b18c7f3
Fix the psalm error about no return type.
2022-05-06 18:22:58 +04:00
Narek Zakarian
5965cc4bde
Enable the "pay later" on card page when card page is updated.
2022-05-06 18:22:11 +04:00
Narek Zakarian
6ac84bc801
Merge branch 'PCP-632-smart-buttons-not-loading' into PCP-163-pay-later-message-bug
2022-05-06 17:34:13 +04:00
Narek Zakarian
d3b8e04135
Update CartBootstap.js
2022-05-04 15:34:19 +04:00