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
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
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
Narek Zakarian
c4f5d7a139
Move the subscription cart check into the callbacks.
...
The subscription product in cart existence and the vaulting enabled check should be called inside the button renderer hook callback so that the mini-cart ajax refresh will take it into the consideration.
2022-05-02 17:48:14 +04:00
Alex P
4a4f131325
Handle card smart button for free trial (1$ auth + void)
...
Disabling this funding source also disables DCC
2022-04-25 15:24:37 +03:00
Alex P
a5191b04ff
Do not disable card funding source for free trial if DCC enabled
...
Otherwise DCC gateway gets disabled (paypal.HostedFields.isEligible() becomes false)
2022-04-25 15:13:46 +03:00
Narek Zakarian
b268e62c9f
Fix the button render logic when free product is in cart.
2022-04-18 18:16:22 +04:00
dependabot[bot]
f5eb674570
Bump minimist from 1.2.5 to 1.2.6 in /modules/ppcp-button
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 10:32:23 +00:00
Emili Castells
0f1f729973
Merge pull request #561 from woocommerce/pcp-612-dcc-loading
...
Hide DCC order button until loaded, show spinner
2022-04-13 10:31:44 +02:00
Alex P
901ecdd1d9
Remove unused imports
2022-04-13 11:17:58 +03:00
Alex P
4c5f0552f9
Remove unneeded token confirmation attempts
2022-04-13 10:40:09 +03:00
Alex P
87aed70199
Improve spinner before redirect
2022-04-12 18:40:24 +03:00
Alex P
9370eba320
Fix mini-cart free trial check
2022-04-12 17:20:32 +03:00
Alex P
b928e5aaa4
Remove additional paypal buttons for free trial
2022-04-12 15:29:23 +03:00
Alex P
c701b46a40
Remove paypal buttons for free trial everywhere except checkout
2022-04-12 15:12:21 +03:00
Alex P
1c0df35f53
Handle free trial for paypal
...
Vault account without payment
2022-04-12 14:59:07 +03:00
Alex P
0da5758656
Merge branch 'trunk' into pcp-475-free-trial
2022-04-07 09:42:32 +03:00
Emili Castells
1cd64cff13
Merge pull request #572 from woocommerce/PCP-623-errors-in-the-checkout-page-when
...
Use `hasOwnProperty` instead of `length` for checking if property exist
2022-04-06 16:51:58 +02:00