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
dinamiko
6f49557e44
Update fees session on each after calculate totals
2021-08-16 11:08:58 +02:00
dinamiko
cc87fb50a3
Rename fees session to avoid naming conflicts
2021-08-16 10:37:17 +02:00
emilicastells
2273213cae
Add fees when creating line items from cart
2021-08-13 16:27:52 +02:00
dinamiko
0452171869
Add fees as line items
2021-08-10 17:09:38 +02:00
Emili Castells
5a84bd1430
Merge pull request #202 from woocommerce/PCP-176-currency-japananese-yen-jpy-is-n
...
Do not send decimals when currency does not support them
2021-08-10 11:39:46 +02:00
Emili Castells
8924fb884e
Merge pull request #205 from woocommerce/PT-51-plugin-information---support
...
Add PayPal onboarding information to WooCommerce system status
2021-08-10 11:33:20 +02:00
Jorge A. Torres
d5ddbdf927
Allow PaymentToken types to be filtered
2021-08-09 08:27:10 -07:00
dinamiko
8f4f681964
Improve message on settings when access token creation fails
2021-07-28 16:56:22 +02:00
dinamiko
817a460666
Fix phpcs errors
2021-07-27 14:29:05 +02:00
dinamiko
ebc4316f83
Use client id and secret from persisted settings if available
2021-07-26 16:08:32 +02:00
emilicastells
412dfbb7cf
Do not send decimals when currency does not support them
2021-07-21 15:20:35 +02:00
dinamiko
119543ae2d
Update dhii/module-interface
to version 0.3
2021-07-14 14:58:23 +02:00
Emili Castells
2efb300be8
Merge pull request #187 from woocommerce/PCP-179-incorrect-api-credentials-cause-
...
Incorrect API credentials cause fatal error
2021-07-12 11:41:32 +02:00