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
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
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
Alex P
06e437e0c3
Refactor logging, add missing logging
2021-10-04 19:16:50 +03:00
Alex P
4b3bba941a
Void non-captured authorizations instead of refunding
2021-10-04 10:37:52 +03:00
Alex P
a1f3cb4a49
Add status code in unknown PayPalApiException message
2021-10-01 10:05:10 +03:00
Alex P
c09c1efc9c
Improve logging
2021-10-01 10:05:10 +03:00
dinamiko
9ebedbfd85
Renaming class names
2021-09-30 16:30:52 +02:00
dinamiko
57ff2cc649
Fix merge conflicts
2021-09-30 12:52:15 +02:00
Emili Castells
62b5682733
Merge pull request #287 from woocommerce/PCP-302-using-a-saved-card-it-showed-an-
...
Add authorization flow for saved credit cards
2021-09-28 11:47:27 +02:00
dinamiko
2a31c3ce03
Add authorization flow for saved credit cards
2021-09-27 17:49:08 +02:00
Alex P
8c7baac7f9
Use CHECKOUT.ORDER.APPROVED for simulation
...
Not sure if it matters which event we use, but at least we are subscribed to this one
2021-09-24 17:36:51 +03:00
dinamiko
a5f308cb9d
Add logger to pending services
2021-09-24 10:33:21 +02:00
dinamiko
02d5411b18
Merge branch 'trunk' into release/1.6.0
2021-09-24 09:29:43 +02:00
Alex P
ea2f728cd8
Add webhook simulation
2021-09-23 10:53:43 +03:00
dinamiko
ead6858a51
Log 3DS authentication result
2021-09-21 11:34:16 +02:00
dinamiko
66c4c2f0a8
Do not set shipping if country does not have postal code
2021-09-20 14:58:58 +02:00
dinamiko
4bdc40c3fb
Revert
e7a4dbd506
2021-09-20 14:36:01 +02:00
Emili Castells
efb5ab3d14
Merge pull request #259 from woocommerce/webhooks-status-page
...
Webhooks status page
2021-09-16 17:02:06 +02:00
Alex P
e2a7f6d8d9
Show webhooks
2021-09-16 13:48:20 +03:00
dinamiko
17de4ac1de
Fix merge conflict
2021-09-16 12:34:05 +02:00
Alex P
b2904504f4
Implement webhook list retrieval
2021-09-16 12:37:05 +03:00
Alex P
64b04d67bd
Merge branch 'trunk' into fix-webhooks-auth
2021-09-16 12:17:53 +03:00
dinamiko
c77baafd68
Remove unused class
2021-09-15 11:40:58 +02:00
dinamiko
12b9905c60
Fix unit tests (WIP)
2021-09-14 17:46:33 +02:00
dinamiko
5ca2f9d69f
Move request response information from logger to request trait and return it as string
2021-09-14 16:23:33 +02:00
dinamiko
9f348ed411
Do not log sensible body data
2021-09-14 12:46:41 +02:00
Alex P
b853beb3b1
Refactor webhook registration errors logging
...
Logging was useless because it was just repeating the exception message. Context args were not used.
2021-09-14 10:25:23 +03:00
dinamiko
a40c073bb9
Refactoring
2021-09-13 15:59:01 +02:00
dinamiko
ba66cf6c2e
Log request body and wp error
2021-09-13 15:38:34 +02:00
dinamiko
1eb2087bfb
Log request and response information
2021-09-13 13:38:58 +02:00
dinamiko
0034e4dd51
Do not throw error if customer does not have payment tokens
2021-09-09 15:35:26 +02:00
Anton Ukhanev
df185157bd
Update parameter name
...
Fixes PHPCS
2021-08-30 08:10:43 +02:00
Anton Ukhanev
3a72a73ae3
Auto-fix PHPCS
2021-08-30 08:08:41 +02:00
Anton Ukhanev
6eda7448d4
Merge pull request #2 from strangerkir/task/refactoring
2021-08-26 11:15:20 +02:00
Anton Ukhanev
69d9631a73
Now using modularity standard v0.3
...
This is the newest release, and is the first one that is compatible
with PHP 8. Other changes are BC-breaking, but very very minor.
2021-08-26 11:11:49 +02:00
Anton Ukhanev
cabcb7d9e4
Add Container typehint to all service definitions
2021-08-26 11:10:16 +02:00
Anton Ukhanev
d4c8282518
Use Composer modules and convert modules to PSR-4
...
PSR-4 is much more robust and predictable. But to do this,
a source root dir must be specified for every module.
This could be done in the root file, but this is not very modular.
Instead, now every module declares its own source root by using
the amazing Composer Merge Plugin. This approach allows each module
to also declare its own dependencies. Together, these changes allow
modules to be easily extractable to separate pacakges when the need
arises, and in general improves modularity significantly.
2021-08-26 11:01:20 +02:00
Alex P
ac482cc44d
Do not send payee email if have id
2021-08-23 18:50:59 +03:00
emilicastells
e7a4dbd506
Remove postal code exist condition on purchase unit
2021-08-16 16:38:44 +02:00