Commit graph

524 commits

Author SHA1 Message Date
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
Alex P
d91131cb06 Fix null access 2021-10-13 17:34:47 +03:00
Alex P
84c31e0223 Fix event_types type 2021-10-13 17:33:37 +03:00
dinamiko
a42ae3567f Merge trunk 2021-10-13 16:13:42 +02:00
Alex P
10937144a1 Add typehint 2021-10-13 15:02:10 +03:00
dinamiko
f405778bdc Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into bug/fix-project-configuration 2021-10-13 10:55:38 +02:00
Alex P
c84a2832a1 Show reason text instead of enum value 2021-10-08 18:15:22 +03:00
Alex P
f4d82e0de8 Fix namespace name, remove classmap 2021-10-08 10:23:19 +03:00
dinamiko
e36d77fad2 Merge trunk (WIP) 2021-10-07 17:36:29 +02:00
Alex P
e02926a033 Rename new classes 2021-10-07 18:09:06 +03:00
Alex P
c65df28d54 Merge branch 'trunk' into bug/fix-project-configuration 2021-10-07 18:04:36 +03:00
Alex P
03e9ac9aad Fix capture endpoint returned object 2021-10-07 10:15:29 +03:00
Alex P
1a7eae93c2 Refactor capture status, make like authorization status 2021-10-06 22:12:06 +03:00
Alex P
bfec11b174 Remove wrong authorization statuses 2021-10-06 21:43:58 +03:00
Alex P
e8fa6cd611 Fix name 2021-10-06 21:38:37 +03:00
Alex P
7d0949eece Throw if denied authorization
like in capture()
2021-10-06 15:43:27 +03:00
dinamiko
a21aa9111a Merge branch 'trunk' into PCP-327-prevent-subscription-from-being- 2021-10-06 12:35:08 +02:00
Alex P
bac0895483 Add details to authorization status 2021-10-06 13:33:43 +03:00
Alex P
537fab4d28 Merge branch 'trunk' into void-transaction 2021-10-05 15:20:00 +03:00