Commit graph

125 commits

Author SHA1 Message Date
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