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 |
|
Mészáros Róbert
|
5fda97307b
|
Enforce array elements type for Payments constructor
|
2020-04-15 13:46:44 +03:00 |
|
David Remer
|
eecd395fb4
|
Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway
|
2020-04-15 13:39:47 +03:00 |
|
David Remer
|
663c9008ab
|
send correct parameters to patchfactory
|
2020-04-15 13:37:01 +03:00 |
|
David Remer
|
de1efea1c8
|
orderendpoint tests
|
2020-04-15 13:36:44 +03:00 |
|
Mészáros Róbert
|
ff4f3d2bba
|
Add todo for dealing with phone without types
|
2020-04-15 13:32:28 +03:00 |
|
Mészáros Róbert
|
715c9d29a4
|
Update the status to processing if it was not when all are captured
|
2020-04-15 12:44:28 +03:00 |
|
Mészáros Róbert
|
3cebbd8237
|
Only capture those that have the created status
|
2020-04-15 12:26:03 +03:00 |
|
Mészáros Róbert
|
f482bbfc26
|
Add DocBlocks for autocomplete
|
2020-04-15 11:58:36 +03:00 |
|
Mészáros Róbert
|
d1bd60b5a7
|
Fix expected type
|
2020-04-15 11:58:14 +03:00 |
|
Mészáros Róbert
|
9d01e6c02f
|
Deal with missing phone type
|
2020-04-15 11:57:54 +03:00 |
|
Mészáros Róbert
|
5ce264a508
|
Add payments method to the PurchaseUnit.php
|
2020-04-15 11:57:22 +03:00 |
|
Mészáros Róbert
|
1cbcd8af72
|
Merge branch 'master' into feature/create-order-intent-authorize
|
2020-04-15 11:40:07 +03:00 |
|
Mészáros Róbert
|
751260c00a
|
Make Order createTime optional
When the intent is set to authorize and the status is completed in many cases the created time is not returned back
|
2020-04-15 11:39:42 +03:00 |
|
Mészáros Róbert
|
c6b5948499
|
Add missing return type
|
2020-04-15 11:27:38 +03:00 |
|
Mészáros Róbert
|
117e3f54be
|
Add returned data to toArray method
|
2020-04-15 11:27:26 +03:00 |
|
Mészáros Róbert
|
edf4972c3a
|
Fix variable assignment
|
2020-04-15 11:27:00 +03:00 |
|
Mészáros Róbert
|
d989617f69
|
Pass the errors to the ErrorResponse handler
|
2020-04-15 11:14:45 +03:00 |
|
Mészáros Róbert
|
df9a74d551
|
Add type hint and docblock for the type
|
2020-04-15 10:57:46 +03:00 |
|
Mészáros Róbert
|
64340578c7
|
Merge branch 'master' into feature/create-order-intent-authorize
|
2020-04-14 19:20:00 +03:00 |
|
Mészáros Róbert
|
c7f437b2b6
|
WIP payment capture
|
2020-04-14 19:19:29 +03:00 |
|
Mészáros Róbert
|
7d0e3d2e38
|
Add Payments to the PurchaseUnit
|
2020-04-14 19:18:59 +03:00 |
|
Mészáros Róbert
|
6c1dec1c3a
|
Rename AuthorizationFactory file and fix variable
|
2020-04-14 19:16:04 +03:00 |
|
Mészáros Róbert
|
d1af783f34
|
Add missing captured status
|
2020-04-14 19:15:32 +03:00 |
|
Mészáros Róbert
|
676216415b
|
Only set the status to processing of the intent was capture
|
2020-04-14 16:11:10 +03:00 |
|
Mészáros Róbert
|
210b7d6845
|
Create and pass the payments endpoint to the gateway
|
2020-04-14 16:08:24 +03:00 |
|
Mészáros Róbert
|
04cf4363a6
|
Code Beautifier and Fixer
|
2020-04-14 16:03:04 +03:00 |
|
Mészáros Róbert
|
d94cb24393
|
Don't throw an error if the order was already authorized
|
2020-04-14 16:02:10 +03:00 |
|
Mészáros Róbert
|
c6c931dc5c
|
Authorize the order/payment during the checkout process
|
2020-04-14 15:39:55 +03:00 |
|
Mészáros Róbert
|
584a1f4a3a
|
Create Authorization entity
|
2020-04-14 15:38:59 +03:00 |
|
Mészáros Róbert
|
5042ab9e45
|
Merge branch 'master' into feature/create-order-intent-authorize
|
2020-04-14 12:11:41 +03:00 |
|
David Remer
|
d6d7db48c2
|
Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway
|
2020-04-14 11:58:41 +03:00 |
|
David Remer
|
bf58928c2e
|
add purchaseunittest for paypal response
|
2020-04-14 11:58:29 +03:00 |
|
Mészáros Róbert
|
feb953e5b4
|
Fix missing Item Factory
|
2020-04-14 11:35:32 +03:00 |
|
Mészáros Róbert
|
c497803d49
|
Fix missing return
|
2020-04-14 11:33:51 +03:00 |
|
Mészáros Róbert
|
479572cfc7
|
Merge branch 'master' into feature/create-order-intent-authorize
# Conflicts:
# modules.local/ppcp-api-client/services.php
# modules.local/ppcp-button/src/Assets/SmartButton.php
|
2020-04-14 11:22:31 +03:00 |
|
Mészáros Róbert
|
49071e2d9c
|
Remove todo
|
2020-04-14 11:18:46 +03:00 |
|
David Remer
|
f270ceca9b
|
rename method in itemfactory
|
2020-04-14 11:00:52 +03:00 |
|
David Remer
|
eb6a0369b9
|
Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway
|
2020-04-14 10:43:49 +03:00 |
|
David Remer
|
ae2ce64b70
|
use Mockery
|
2020-04-14 10:43:36 +03:00 |
|
David Remer
|
77c170713d
|
do drop shipping address when no country code given in PurchaseUnitFactory::fromWcCart
|
2020-04-14 10:43:13 +03:00 |
|
David Remer
|
2d8d62c71d
|
rearrange factories for wcorder and wccart
|
2020-04-14 10:00:05 +03:00 |
|