Commit graph

192 commits

Author SHA1 Message Date
Alex P
8b3f6cb613 Merge branch 'trunk' into pcp-370-onboarding 2022-01-21 15:06:16 +02:00
Emili Castells
0fee10931a
Merge pull request #423 from woocommerce/PCP-434-allow-guest-users-to-purchase-su
Add customer id for guest users purchasing subscriptions
2022-01-20 11:18:14 +01:00
dinamiko
e9e650da79 Fix psalm errors 2022-01-17 14:52:30 +01:00
Alex P
3b488fbf8e Allow to specify products value in partner referrals data 2022-01-14 13:56:52 +02:00
dinamiko
dce8a06953 Do not regenerate guest customer id if already exist in the session 2022-01-12 15:55:09 +01:00
Emili Castells
0b97b1a69f
Merge pull request #427 from woocommerce/pcp-467-currency
Do not use get_woocommerce_currency
2022-01-11 10:13:31 +01:00
Emili Castells
9f623bdcd4
Merge pull request #429 from woocommerce/pcp-492-log
Do not log reference transactions checks
2022-01-11 10:04:12 +01:00
dinamiko
c2834df32f Add prefix to guest user id generation 2022-01-10 12:51:56 +01:00
Alex P
df311e5f5d Add AMEX AUD 2022-01-06 15:30:20 +02:00
Alex P
8e703061a8 Do not log reference transactions checks 2022-01-06 14:46:42 +02:00
Alex P
a432e39436 Do not use get_woocommerce_currency 2022-01-06 13:41:12 +02:00
dinamiko
e68ff57572 Fix psalm 2022-01-05 14:56:30 +01:00
dinamiko
96d154a856 Refactoring 2022-01-05 14:12:37 +01:00
dinamiko
65b97f63c5 Refactoring 2022-01-05 13:09:53 +01:00
dinamiko
0ae7e6e9bc Extract customer id retrieval 2022-01-05 12:49:49 +01:00
dinamiko
d6e36e559b Fix psalm error 2022-01-05 10:28:40 +01:00
dinamiko
5786ae6bbd Use guest customer id when loading script if it exist 2022-01-04 14:53:52 +01:00
dinamiko
f1ae75a07e Fix CI errors 2022-01-03 15:26:07 +01:00
dinamiko
d33ca00ac7 Fix CI errors 2022-01-03 15:15:33 +01:00
dinamiko
d69f1b5a9c Add guest customer id (WIP) 2021-12-24 12:37:06 +01:00
Alex P
c43a4999aa Replace CurrencySupport class with a service 2021-11-30 14:55:31 +02:00
Alex P
521cbf4e26 Require 3DS by default for PSD2 shop countries 2021-11-30 14:50:49 +02:00
Alex P
ebabc45dbc Extract currency/country lists to services 2021-11-30 11:15:56 +02:00
Alex P
ffe32070d0 Extract shop currency, country to services 2021-11-30 10:40:38 +02:00
Alex P
aceeee95e9 Remove unused imports 2021-11-25 18:25:22 +02:00
Alex P
5322f101b4 Add whether Reference Transactions are enabled to status report 2021-11-25 11:19:58 +02:00
Alex P
27d71e14c3 Merge branch 'trunk' into pcp-254-improve-status-report 2021-11-23 16:51:47 +02:00
Emili Castells
2638486331
Merge pull request #373 from woocommerce/pcp-333-fix-tax-mismatch
Use subtotal_tax instead of adding taxes ourselves
2021-11-23 12:33:46 +01:00
Alex P
6e6b4c4b40 Merge branch 'trunk' into pcp-401-custom-order-id 2021-11-23 12:51:26 +02:00
Emili Castells
3e21c4d7d7
Merge pull request #359 from woocommerce/PCP-419-do-not-display-saved-payments-on
Do not pass `customer_id` if vaulting is disabled
2021-11-23 11:06:26 +01:00
Alex P
195474ad6e Check currency support for status report 2021-11-22 18:20:00 +02:00
Alex P
a6a25232e3 Use subtotal_tax instead of adding taxes ourselves 2021-11-19 10:29:44 +02:00
dinamiko
c072e8550a Add retry counter meta to order to avoid duplicate invoice error on consequent tries 2021-11-18 14:45:34 +01:00
Alex P
6d905d01c8 Remove prefix from custom id 2021-11-16 17:28:11 +02:00
Alex P
3b98d8300b Use order ID instead of "number" for PayPal custom field
Otherwise we cannot find the order in webhook handlers
if order number is not order ID
2021-11-16 12:06:38 +02:00
dinamiko
4e4fc38077 Improve conditional format 2021-11-15 09:53:50 +01:00
dinamiko
6609759c9d Do not pass client_id if vaulting is disabled 2021-11-12 16:55:55 +01:00
Emili Castells
cb8c12383c
Merge pull request #348 from woocommerce/ppcp-376-fix-logging-error
Handle WP_Error when logging response
2021-11-08 11:49:09 +01:00
Alex P
a341d427fc Handle WP_Error when logging response 2021-11-08 11:08:09 +02:00
Emili Castells
e640eae060
Merge pull request #345 from woocommerce/pcp-352-fix-rounding-check
Fix/refactor rounding check
2021-11-04 11:10:50 +01:00
Alex P
74e4daa9b3 Fix patching check 2021-11-03 10:24:23 +02:00
Alex P
ed3cc49856 Fix phpdoc type 2021-11-03 10:16:33 +02:00
Alex P
fdbbfd8dec Check null instead of float cast 2021-10-29 09:20:39 +03:00
Alex P
ea462af3bf Fix psalm errors 2021-10-28 18:25:42 +03:00
Alex P
b7f628c8c7 Simplify null breakdown check
If it is null, we would return false either way.
Also why suddenly use $this->amount() if it is passed as parameter.
2021-10-28 17:39:33 +03:00
dinamiko
e3a793e3e5 Fix merge conflicts 2021-10-20 15:01:53 +02:00
dinamiko
bc7455e10f Improve method name and description 2021-10-15 17:22:06 +02:00
dinamiko
3295488b29 Change shipping preference if purchase units does not contain shipping 2021-10-15 16:16:54 +02:00
Alex P
b0396489c9 Extract is_voidable_authorization 2021-10-15 16:20:00 +03:00
dinamiko
ab0ed12495 Merge branch 'trunk' into PCP-327-prevent-subscription-from-being- 2021-10-14 10:34:26 +02:00