Commit graph

1144 commits

Author SHA1 Message Date
Alex P
c933c595d8 Remove redirect after vaulting settings check
does not seem to be needed
2022-05-12 17:39:54 +03:00
Alex P
d4dcc10ef6 Remove outdated comment 2022-05-12 17:39:49 +03:00
Alex P
65007a7bae Do not handle vaulting settings change when not onboarded
Otherwise vaulting gets disabled after disconnect and re-onboarding
2022-05-12 17:39:49 +03:00
Alex P
fc3ba70d4b Extract filter to a function 2022-05-11 18:16:50 +03: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
Alex P
e72b80ae72 Show error if PayPal already vaulted for another WC customer 2022-04-27 10:45:05 +03:00
Alex P
b2e5a80f3f Show error message when vaulting approval fails 2022-04-27 10:39:54 +03: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
dinamiko
36151c8296 Do not set PayPal gateway enabled on credit card gateway 2022-04-21 15:19:08 +02:00
dinamiko
ca0aa6145c Revert change 2022-04-21 11:20:47 +02: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
dependabot[bot]
17257107e3
Bump minimist from 1.2.5 to 1.2.6 in /modules/ppcp-vaulting
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:29:51 +00:00
Emili Castells
2fd461ed69
Merge pull request #584 from woocommerce/dependabot/npm_and_yarn/modules/ppcp-wc-gateway/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6 in /modules/ppcp-wc-gateway
2022-04-13 12:29:18 +02:00
dependabot[bot]
b9cee2a600
Bump minimist from 1.2.5 to 1.2.6 in /modules/ppcp-wc-gateway
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:25:22 +00:00
dependabot[bot]
6c20aaeeba
Bump minimist from 1.2.5 to 1.2.6 in /modules/ppcp-webhooks
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:24:04 +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
Emili Castells
212894958e
Merge pull request #567 from woocommerce/PCP-607-add-dark-versions-of-cards
Add ability to select dark versions of Visa and Mastercard icons.
2022-04-13 10:30:59 +02:00
Emili Castells
745aaed313
Merge pull request #545 from woocommerce/PCP-478-redirect-after-updating-settings-for-dcc
Self redirect after updating DDC settings
2022-04-13 10:30:01 +02:00
Emili Castells
2d56e3ffad
Merge pull request #540 from woocommerce/PCP-347-emoji-in-product-description-causing-error
Fix the description counting when emoji is used
2022-04-13 10:29:12 +02:00
Emili Castells
97f7f644bc
Merge pull request #581 from woocommerce/pcp-475-free-trial
Free trial
2022-04-13 10:28:26 +02:00
Emili Castells
aa9d4c64cb
Merge pull request #563 from woocommerce/PCP-594-card-processing-doesnt-appear
Store card processing gateway "enabled" config as a string.
2022-04-13 10:27:25 +02:00
Alex P
901ecdd1d9 Remove unused imports 2022-04-13 11:17:58 +03:00
Alex P
4cecb908e6 Add tests 2022-04-13 10:40:28 +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
1b5052a858 Merge branch 'trunk' into pcp-475-free-trial 2022-04-12 15:32:31 +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
Emili Castells
22faea20d6
Merge pull request #559 from woocommerce/pcp-610-onboarding-logging
Onboarding errors improvements
2022-04-12 09:19:58 +02:00
Emili Castells
ecf3feab62
Merge pull request #538 from woocommerce/PCP-574-filter-to-modify-sending-data
Add filter to allow modifying of order creation request body data
2022-04-12 09:16:08 +02:00
Emili Castells
50e282aba5
Merge pull request #536 from woocommerce/PCP-564-pay-for-order-guest-failing
Check if payer's Email and name are set before sending data
2022-04-12 09:15:15 +02:00
Emili Castells
a0e19d0c27
Merge pull request #549 from woocommerce/pcp-278-var-sub
Fix variable subscription checks
2022-04-12 09:13:37 +02:00
Alex P
cdda2963c8 Fix phpdoc 2022-04-11 18:16:38 +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
Narek Zakarian
515a06542e Use the cart price calculating method inside the handler. 2022-04-06 18:18:05 +04:00
Narek Zakarian
f46341466f Check the cart total amount inside mini cart renderer hook. 2022-04-06 17:57:59 +04:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
c6070e6567 Just use err.details 2022-04-05 15:01:46 +02:00
dinamiko
b7a9ccec4e Use hasOwnProperty instead of length for checking if property exist 2022-04-05 14:29:33 +02:00
Narek Zakarian
b78da2daae Add ability to select dar versions of Visa and Mastercard icons. 2022-04-04 17:01:14 +04:00
dinamiko
5369af13e2 Revert PCP-590-incorrect-tax-details as is causing line items not sent to PayPal 2022-04-04 11:35:50 +02:00
Alex P
8ae32e8396 Hide DCC order button until loaded, show spinner 2022-03-31 08:52:33 +03:00
Narek Zakarian
243add3f02 Store card processing gateway enabled config as a string. 2022-03-30 19:25:51 +04:00
Alex P
be55fcf711 Add filter for enabling logging 2022-03-29 14:04:43 +03:00
Alex P
6ee900cb01 Output exception message on onboarding link creation error 2022-03-29 14:04:09 +03:00