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 |
|
David Remer
|
8d11d75dd0
|
introduce TestCase
|
2020-04-14 09:58:01 +03:00 |
|
David Remer
|
c7aa53a8e4
|
resolve merge conflict
|
2020-04-14 08:24:45 +03:00 |
|
David Remer
|
70915eae3d
|
move item construction in wc order to itemfactory
|
2020-04-14 08:22:35 +03:00 |
|
David Remer
|
19c53dd644
|
add purchaseunitfactorytest
|
2020-04-14 08:22:01 +03:00 |
|
Mészáros Róbert
|
b655750485
|
Change order string payment
|
2020-04-13 22:33:50 +03:00 |
|
Mészáros Róbert
|
ab822033a4
|
Merge branch 'master' into feature/create-order-intent-authorize
|
2020-04-13 18:20:31 +03:00 |
|
Mészáros Róbert
|
647a0f3c32
|
Call parent constructor before methods
|
2020-04-13 17:48:11 +03:00 |
|
David Remer
|
292e48942e
|
Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway
|
2020-04-13 16:37:26 +03:00 |
|
David Remer
|
ae6fbc73f6
|
finish purchaseunittest
|
2020-04-13 16:36:31 +03:00 |
|
Mészáros Róbert
|
48176a18a7
|
Read the intent from the WC settings
|
2020-04-13 15:26:30 +03:00 |
|
Mészáros Róbert
|
8627fddede
|
Merge branch 'master' into feature/create-order-intent-authorize
# Conflicts:
# modules.local/ppcp-api-client/services.php
# modules.local/ppcp-api-client/src/Endpoint/OrderEndpoint.php
# modules.local/ppcp-wc-gateway/src/WcGatewayModule.php
|
2020-04-13 15:22:36 +03:00 |
|
David Remer
|
33c256c48b
|
Merge pull request #5 from inpsyde/refactor/settings-class
Use a base gateway class with minimal config
|
2020-04-13 15:17:23 +03:00 |
|
Mészáros Róbert
|
84fd6e552d
|
Use a base gateway class with minimal config
|
2020-04-13 14:57:53 +03:00 |
|
Mészáros Róbert
|
cd1da8c460
|
Move the logic to Gateway
|
2020-04-13 14:25:20 +03:00 |
|
David Remer
|
6aa87da598
|
Merge pull request #4 from inpsyde/feature/configure-gateway-notice
Add configure gateway admin notice
|
2020-04-13 14:19:49 +03:00 |
|
David Remer
|
bf39506270
|
more tests
|
2020-04-13 13:52:43 +03:00 |
|
Mészáros Róbert
|
35cceed231
|
WIP authorize order from admin panel
|
2020-04-13 12:39:34 +03:00 |
|
Mészáros Róbert
|
846d351f4a
|
Store the PayPal order id so we can use it later
|
2020-04-13 12:38:36 +03:00 |
|
David Remer
|
30fa8b2ff2
|
remove test logs
|
2020-04-13 12:35:43 +03:00 |
|
David Remer
|
e7623c1dd8
|
add first tests
|
2020-04-13 12:35:27 +03:00 |
|
David Remer
|
7dc1d89c74
|
add unknown code to response error object
|
2020-04-13 12:14:16 +03:00 |
|
David Remer
|
0a4d6d61f2
|
Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway
|
2020-04-13 11:53:00 +03:00 |
|
David Remer
|
76b3733417
|
add error response object
|
2020-04-13 11:52:50 +03:00 |
|
Mészáros Róbert
|
35afcb5d2c
|
For now pass the intent type as dependency
|
2020-04-13 11:52:24 +03:00 |
|
Mészáros Róbert
|
f4fd1d8b7d
|
Capture the order only if the intent is capture
|
2020-04-13 11:25:01 +03:00 |
|
Mészáros Róbert
|
717b7d1689
|
Add intent type to the smart button URL param
|
2020-04-13 11:24:33 +03:00 |
|
Mészáros Róbert
|
07bda403e3
|
Add setting field for intent
|
2020-04-13 11:23:55 +03:00 |
|
David Remer
|
5ca109ec97
|
add babel-plugin-transform-object-rest-spread
|
2020-04-13 09:31:34 +03:00 |
|
David Remer
|
79a6c6d7c3
|
introduce payeeRepository // PCP-8
|
2020-04-13 09:07:20 +03:00 |
|
Mészáros Róbert
|
f67bac7c43
|
Fix setting the shipping to null in PurchaseUnitFactory
The country code can be empty because the shipping is not mandatory information.
If it's not configured from WC the value is empty. Fixes #3
|
2020-04-10 20:21:05 +03:00 |
|
David Remer
|
89a9daff7f
|
add payee repository
|
2020-04-10 16:39:25 +03:00 |
|
David Remer
|
2182147f11
|
Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway
|
2020-04-10 12:56:02 +03:00 |
|
David Remer
|
99c6bed2ef
|
add caching module
|
2020-04-10 12:55:50 +03:00 |
|
David Remer
|
47b9fc8894
|
reset shipping if incomplete
|
2020-04-10 12:55:01 +03:00 |
|