Commit graph

233 commits

Author SHA1 Message Date
David Remer
1225ad83c8 add tests for ChangeCartEndpoint 2020-04-29 12:11:53 +03:00
David Remer
6b8ed27283 small refactor of /AuthorizedPaymentsProcessor 2020-04-29 09:20:03 +03:00
David Remer
80b129c92d add WcGateway tests 2020-04-29 08:58:16 +03:00
David Remer
4b14a7f193 refactor AuthorizedPaymentsProcessor 2020-04-29 08:13:46 +03:00
David Remer
4f5b6950e0 return true when capturing payment successful. minimize db requests 2020-04-28 15:47:45 +03:00
David Remer
39e14c7c25 remove todo comment 2020-04-28 15:37:35 +03:00
David Remer
c243214c86 codestyle 2020-04-28 15:19:51 +03:00
David Remer
be61fb957d codestyle 2020-04-28 15:09:00 +03:00
David Remer
389a19ac06 minor changes 2020-04-28 15:03:39 +03:00
David Remer
af492f57ac use printf instead of echo 2020-04-28 13:35:45 +03:00
David Remer
019b77e5b1 add screen reader text to payment captured column 2020-04-28 13:34:21 +03:00
David Remer
a09a4e1e3d move payment process out of wc gateway 2020-04-28 13:32:48 +03:00
David Remer
95f608bf40 move admin-notices in own repository 2020-04-28 12:56:54 +03:00
David Remer
9dc3c073d2 codestyle 2020-04-28 12:31:12 +03:00
David Remer
6793d7217a introduce admin-notices 2020-04-28 11:42:23 +03:00
David Remer
1b9b206c14 add order not found capture error message 2020-04-28 09:50:50 +03:00
David Remer
a9e0cc0cf7 PCP-13 // add payer information to mini-cart, cart and single product 2020-04-28 09:14:05 +03:00
David Remer
05aac334e7 Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway 2020-04-28 07:34:07 +03:00
David Remer
b8b2472d7e rm ppcp-session 2020-04-28 07:33:35 +03:00
David Remer
d8edd4477c do not use user_id when creating nonce 2020-04-28 07:32:00 +03:00
Mészáros Róbert
cfe450f835 Pass the error message from the api up to the button's error handler
Remove the "Error:" prefix front he front-end facing error message

The notice has already the error state and it's implied
2020-04-23 17:13:12 +03:00
David Remer
7a2dac81c9 rm ppcp-api-client 2020-04-23 14:17:23 +03:00
David Remer
d3842a12c1 replace cache module with wp-oop/transient-cache 2020-04-23 12:41:51 +03:00
David Remer
7e4e057398 remove composer lock 2020-04-23 12:30:27 +03:00
David Remer
20019c3d2f use Token 2020-04-23 12:30:11 +03:00
David Remer
e13eb0ff82
Merge pull request #6 from inpsyde/feature/create-order-intent-authorize
Payment with intent authorize
2020-04-23 12:09:08 +03:00
Mészáros Róbert
998f5a73b2 Add dev requirements like PHPUnit and coding standards 2020-04-23 11:46:11 +03:00
Mészáros Róbert
cb564c3fbb Compare the intent but don't care about the casing 2020-04-23 11:25:46 +03:00
Mészáros Róbert
25c09fb198 Rename payment status related classes 2020-04-23 11:24:43 +03:00
Mészáros Róbert
7e41ca3852 Display authorized payment captured state on the orders table 2020-04-22 19:27:07 +03:00
Mészáros Róbert
72cb5b4944 Store the captured status of the authorized payment 2020-04-22 17:00:05 +03:00
Mészáros Róbert
24dd72142b Add option to display the payment status 2020-04-22 16:07:02 +03:00
Mészáros Róbert
708efab5e4 Update order action name 2020-04-22 16:05:59 +03:00
Mészáros Róbert
82fa0ab754 Store the order intent as meta information 2020-04-22 13:57:20 +03:00
Mészáros Róbert
857dc9b666 Use WC meta data wrapper methods instead of the default WP meta functions 2020-04-22 12:58:42 +03:00
Mészáros Róbert
bd6cdf05b5 Put it in one line
To make the code coverage pass
2020-04-16 17:32:27 +03:00
Mészáros Róbert
d5a6cf5439 Add test for PaymentsFactory 2020-04-16 17:10:58 +03:00
Mészáros Róbert
09d82e3155 Add test for Payments 2020-04-16 16:45:27 +03:00
Mészáros Róbert
b5a7614137 Merge branch 'master' into feature/create-order-intent-authorize 2020-04-16 15:33:01 +03:00
Mészáros Róbert
33777d5ac7 Update messages shown to user in the admin 2020-04-16 15:32:19 +03:00
Mészáros Róbert
8e4af5766e Create a processor class to handle the authorized payments 2020-04-16 15:19:57 +03:00
David Remer
cfe53c80a4 get cart instance later in cart repository 2020-04-16 15:14:35 +03:00
Mészáros Róbert
0ccfc87d58 Merge branch 'master' into feature/create-order-intent-authorize 2020-04-16 13:21:17 +03:00
Mészáros Róbert
ad2b25b600 Add test for payments capture endpoint 2020-04-16 12:36:18 +03:00
David Remer
b2e3e3fe41 check for key with isset 2020-04-16 12:26:44 +03:00
Mészáros Róbert
0ef3601f79 After Code Beautifier and Fixer 2020-04-16 11:35:09 +03:00
Mészáros Róbert
7ca1977737 Add missing intent to the testCreateForPurchaseUnitsWithPayer test 2020-04-16 11:33:49 +03:00
Mészáros Róbert
8b3d634e00 Merge branch 'master' into feature/create-order-intent-authorize
# Conflicts:
#	modules.local/ppcp-api-client/src/Factory/PayerFactory.php
2020-04-16 11:30:43 +03:00
Mészáros Róbert
e95240530a Test for PaymentsEndpoint authorize endpoint 2020-04-16 11:27:40 +03:00
David Remer
7efe09f3ab send billing information when creating order // pcp-11 2020-04-16 10:29:25 +03:00