Commit graph

8565 commits

Author SHA1 Message Date
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
48ddf79805 Update inpsyde coding standards version 2020-04-23 11:46:11 +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
David Remer
a2d77d4089 remove unnecessary files 2020-04-16 09:46:15 +03:00
David Remer
d332cc4177 add a payer when creating an order from purchase units 2020-04-16 09:45:45 +03:00
David Remer
d18b60061a add disable funding setting // PCP-10 2020-04-16 09:29:02 +03:00
Mészáros Róbert
c72e4aa505 Test for AuthorizationFactory 2020-04-16 08:44:52 +03:00
Mészáros Róbert
5427f4ae83 Fix class import 2020-04-16 08:39:32 +03:00
Mészáros Róbert
8376b2e5e7 Merge branch 'master' into feature/create-order-intent-authorize 2020-04-15 17:27:25 +03:00
Mészáros Róbert
ed8ec50601 Add test for AuthorizationStatus 2020-04-15 17:26:19 +03:00
David Remer
6a6e088846 add tests for order entity 2020-04-15 16:58:51 +03:00
Mészáros Róbert
48970fa4b7 Add testFromPayPalResponsePaymentsIsNull test 2020-04-15 16:53:21 +03:00
Mészáros Róbert
f3ef9fe8a6 CamelCaseThatMethod 2020-04-15 16:45:31 +03:00
Mészáros Róbert
0494b5e71e Test for Authorization 2020-04-15 16:43:46 +03:00
David Remer
b06716bb14 add addressfactorytest, throw runime exception when no country given 2020-04-15 16:28:46 +03:00
Mészáros Róbert
68e4e5a3ae Merge branch 'master' into feature/create-order-intent-authorize 2020-04-15 16:18:28 +03:00
Mészáros Róbert
60e979a4a2 Add test to check the payments are added when the PayPal response contains it 2020-04-15 16:17:33 +03:00
David Remer
7fc5532a83 test AmountFactory 2020-04-15 15:42:09 +03:00
Mészáros Róbert
f1b8ee128a Pass missing mocked PaymentsFactory 2020-04-15 15:08:07 +03:00
Mészáros Róbert
380f018018 Pass intent to the mocked OrderEndpoint 2020-04-15 15:07:48 +03:00
Mészáros Róbert
19883c29aa Merge branch 'master' into feature/create-order-intent-authorize
# Conflicts:
#	modules.local/ppcp-api-client/src/Endpoint/OrderEndpoint.php
2020-04-15 14:38:22 +03:00
David Remer
cf2029794b createForPurchaseUnits tests 2020-04-15 14:30:02 +03:00
Mészáros Róbert
4652b1a5cc Merge branch 'master' into feature/create-order-intent-authorize 2020-04-15 14:04:17 +03:00
Mészáros Róbert
3c69b11fea Rename add_action to do_action 2020-04-15 14:03:39 +03:00
David Remer
dbb538eb9d add test, replace add_action with do_action in order endpoint 2020-04-15 13:59:00 +03:00
Mészáros Róbert
55c3bcefc5 After Code Beautifier and Fixer 2020-04-15 13:51:06 +03:00