Commit graph

1483 commits

Author SHA1 Message Date
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
64c6854873 Use payment_complete()
Not sure which way is better, but we should choose one
2021-10-06 19:07:07 +03:00
Alex P
b7fcee1179 Stop if failed to handle saved card payment 2021-10-06 18:53:49 +03:00
Alex P
45249966e9 Add missing order meta 2021-10-06 18:10:32 +03:00
Alex P
df68c948b9 Refactor payment error handling 2021-10-06 16:03:38 +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
Emili Castells
c5016b5b1e
Merge pull request #299 from woocommerce/void-transaction
Void transaction
2021-10-06 12:32:36 +02:00
Emili Castells
11c56d7bfd
Merge pull request #309 from woocommerce/fix-null-3ds-contingency
Check that 3ds_contingency option is not null
2021-10-06 12:07:14 +02:00
Alex P
403b82d5d7 Check that 3ds_contingency option is not null 2021-10-06 12:45:51 +03:00
Alex P
571b85ec61 Do not render capture status for refunded 2021-10-06 12:30:26 +03:00
Alex P
25b3bd148f Refactor capture status rendering 2021-10-06 12:26:54 +03:00
Alex P
2405c7e801 Fix indent 2021-10-05 15:24:39 +03:00
Alex P
537fab4d28 Merge branch 'trunk' into void-transaction 2021-10-05 15:20:00 +03:00
Alex P
48a6a8069f Set refunded status after void 2021-10-05 15:19:50 +03:00
Emili Castells
8cdc1338f6
Merge pull request #305 from woocommerce/handle-capture-action-errors
Handle denied authorization when capturing via order action
2021-10-05 14:14:22 +02:00
Alex P
ea7f56c402 Handle denied authorization when capturing via order action
If nothing to capture and do not have captures, then show error.
2021-10-05 08:57:55 +03:00
Alex P
06e437e0c3 Refactor logging, add missing logging 2021-10-04 19:16:50 +03:00
Alex P
07928c9935 Return status instead of bool + last_status 2021-10-04 18:36:30 +03:00
Alex P
c6229c9944 Simplify test 2021-10-04 18:25:35 +03:00
Alex P
85f3b184b2 Void all voidable authorizations 2021-10-04 15:47:44 +03:00
Alex P
4b3bba941a Void non-captured authorizations instead of refunding 2021-10-04 10:37:52 +03:00
Alex P
393e3116b8 Improve logging 2021-10-01 10:05:10 +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
Emili Castells
d38f24ef2b
Merge pull request #297 from woocommerce/fix/text-file-filter
Fix text file filter
2021-09-30 15:20:07 +02:00
dinamiko
7a6f302633 Fix text file filter 2021-09-30 15:16:53 +02:00
Emili Castells
c00c58181e
Merge pull request #237 from woocommerce/fix-cmd
Fix docker phpcs command and improve readme
2021-09-30 11:34:24 +02:00
Emili Castells
c79c854e60
Merge pull request #233 from woocommerce/bug/fix-project-configuration
Fix Project Configuration
2021-09-30 10:43:18 +02:00
Alex P
72f1c2b665 Merge branch 'trunk' into fix-cmd 2021-09-30 10:24:38 +03:00
Jorge A. Torres
505f5223ce Update release date in changelog 2021-09-29 14:31:20 -03:00
Jorge A. Torres
664c2220ac Remove node_modules/ directories before building ZIP 2021-09-29 13:21:25 -03:00
Emili Castells
43fd2e5dd3
Merge pull request #292 from woocommerce/update-webpack-on-vaulting-module
Update packages on vaulting module
2021-09-29 12:50:59 +02:00
dinamiko
56261b753b Update packages on vaulting module 2021-09-29 12:40:22 +02:00
Emili Castells
e28cdd8549
Merge pull request #291 from woocommerce/PCP-312-dependabots-issues
Update JS packages
2021-09-29 11:50:38 +02:00
dinamiko
36eb284dce Use sass instead of node-sass 2021-09-29 11:47:58 +02:00
dinamiko
065fc4c241 Update all packages to latest versions 2021-09-29 11:10:56 +02:00
dinamiko
b6cde1f593 Regenerate yarn.lock files 2021-09-29 10:20:11 +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
7d893b40d3 Fix phpcs errors 2021-09-28 10:41:43 +02:00
Emili Castells
59d470e2e4
Merge pull request #277 from woocommerce/change-webhook-simulation-event
Use CHECKOUT.ORDER.APPROVED for simulation
2021-09-28 10:24:07 +02:00
dinamiko
2a31c3ce03 Add authorization flow for saved credit cards 2021-09-27 17:49:08 +02:00
Alex P
4d87f7fdae Add test 2021-09-24 17:38:04 +03: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
Jorge A. Torres
07b9147174
Merge pull request #261 from woocommerce/release/1.6.0
Sync `release/1.6.0` fixes into `trunk`.
2021-09-24 10:06:21 -03:00
dinamiko
56017ba52a Fix typo in class name 2021-09-24 12:36:56 +02:00
dinamiko
1d17a4d3ab Make webhook nullable to prevent fatal error 2021-09-24 12:20:43 +02:00
dinamiko
a5f308cb9d Add logger to pending services 2021-09-24 10:33:21 +02:00