Commit graph

100 commits

Author SHA1 Message Date
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
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
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
David Remer
d18b60061a add disable funding setting // PCP-10 2020-04-16 09:29:02 +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
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
c7f437b2b6 WIP payment capture 2020-04-14 19:19:29 +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
c6c931dc5c Authorize the order/payment during the checkout process 2020-04-14 15:39:55 +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
David Remer
eb6a0369b9 Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway 2020-04-14 10:43:49 +03:00
David Remer
c7aa53a8e4 resolve merge conflict 2020-04-14 08:24:45 +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
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
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
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
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
07bda403e3 Add setting field for intent 2020-04-13 11:23:55 +03:00
David Remer
79a6c6d7c3 introduce payeeRepository // PCP-8 2020-04-13 09:07:20 +03:00
Mészáros Róbert
600dd76dd3 Set the title and the description from the client settings
This way the user can display the title it wants on the frontend
2020-04-10 12:53:22 +03:00
Mészáros Róbert
2974ac9ad8 Rename ConnectNotice to ConnectAdminNotice 2020-04-10 12:36:42 +03:00
Mészáros Róbert
3cb0f9c19e Display a notice when the plugin is activated but the gateway is not configured 2020-04-10 12:20:08 +03:00
Mészáros Róbert
3f8b3ba85c Pass the color and shape option from the settings to the button style 2020-04-09 19:23:10 +03:00
Mészáros Róbert
3f81faa045 Add title, description and button context enabler settings 2020-04-09 18:14:27 +03:00
Mészáros Róbert
f6051f56f2 Disable PHPCS rules as it implements an interface 2020-04-09 14:48:25 +03:00
Mészáros Róbert
8ff6ef7bd5 Run Code Beautifier and Fixer 2020-04-09 14:36:52 +03:00
Mészáros Róbert
984b0a23e9 Implement Container interface for the Settings 2020-04-09 14:35:19 +03:00
Mészáros Róbert
d7f2e33e60 Add settings and settings field class 2020-04-09 14:06:22 +03:00
David Remer
2bd8807d11 destroy session data 2020-04-08 15:31:22 +03:00
David Remer
ff3358f1a8 show title for payment gateway in frontend 2020-04-08 14:30:43 +03:00
David Remer
005a55c213 phpcs 2020-04-06 11:16:18 +03:00
David Remer
7fd57b9393 2nd chunk 2020-04-06 10:51:56 +03:00
David Remer
779eb31e4e init 2020-04-02 08:38:00 +03:00