David Remer
d9b2818685
redirect when POST request with the error-get-parameter, so no error message will be shown later on
2020-10-02 12:28:40 +03:00
David Remer
2a882487a7
use the plugins notice module to render the notice
2020-10-02 12:09:23 +03:00
David Remer
6683617d2b
even without client_id we want to store the merchant_id
2020-10-02 12:08:32 +03:00
David Remer
321a32420f
print warning when client_id is not present while trying to store merchant_email
2020-10-01 12:07:11 +03:00
David Remer
0a3acae98e
Merge branch 'master' into issue-22-sandbox-live-switch
2020-10-01 11:10:59 +03:00
David Remer
53c4479db7
escape translateable string
2020-10-01 09:09:24 +03:00
David Remer
e3055a69f0
render the authorize action depending on the orders status
2020-09-30 08:19:19 +03:00
David Remer
2f474cc8ae
add disconnect button
2020-09-29 12:48:02 +03:00
David Remer
15580be431
resolve merge conflict
2020-09-29 12:22:24 +03:00
Rasmy Nguyen
92276f9aa9
Merge pull request #46 from woocommerce/issue-34-disable-dcc-when-gateway-disabled
...
Disable both gateways when gateway setting 'enabled' is false
2020-09-29 07:46:02 +00:00
David Remer
8c6cb68b0c
extract logic for disabling both gateways into a helper function
2020-09-29 10:17:59 +03:00
David Remer
07f08a2d34
make sure sandbox and production data is present before setting client_id in settingslistener
2020-09-28 15:41:10 +03:00
David Remer
cc1365d5e9
disable gateways when gateway setting 'enabled' is false
2020-09-28 14:10:39 +03:00
David Remer
091077d0ee
codestyle
2020-09-25 12:34:39 +03:00
David Remer
e8a3b3d28c
remove reset functionality from Settings container
2020-09-25 12:01:33 +03:00
David Remer
074a6ea139
remove the toggle for a credentials set once those are set.
2020-09-25 11:58:30 +03:00
David Remer
e5a569e0a0
seperate state detection by production/sandbox
2020-09-25 11:38:22 +03:00
David Remer
2cb16565cd
redirect when merchant_email has been stored from GET parameters.
2020-09-25 10:10:03 +03:00
David Remer
28863a2b4e
make sure client_id and client_secret are properly stored.
2020-09-25 09:56:43 +03:00
David Remer
de4dc878ef
store credentials also in the sandbox-prod-credential buckets when returning from paypal
2020-09-25 09:38:01 +03:00
David Remer
9327b19b7d
add new fields for production and sandbox credentials.
...
Change toggle functionality. Load connect-to-sandbox-button and connect-to-production-button in case credentials are missing
2020-09-25 09:19:43 +03:00
David Remer
8d682afc6c
add new setting fields to differentiate between live/sandbox credentials
2020-09-25 07:17:48 +03:00
David Remer
8a3ae89d40
codestyle fix
2020-09-24 13:43:28 +03:00
David Remer
3281043bc2
do not show enable button on start screen
2020-09-24 12:49:57 +03:00
David Remer
16ad8c9cd1
resolve merge conflict
2020-09-24 10:54:28 +03:00
David Remer
bc2f12e343
Merge branch 'master' into issue-19-dcc-logos
2020-09-24 10:49:37 +03:00
David Remer
5907d03ced
move merchant email into toggle
2020-09-24 10:46:31 +03:00
David Remer
2679afd819
keep email input always editable without the need of reset
2020-09-24 10:44:39 +03:00
David Remer
1b3061f59a
save merchant email when merchant comes back from onboarding
2020-09-24 10:42:38 +03:00
David Remer
9f45ca618f
remove some setting fields from start screen
2020-09-24 10:42:20 +03:00
David Remer
920b428ac7
show buttons on start screen
2020-09-24 09:50:06 +03:00
Rasmy Nguyen
b13476de38
Merge pull request #31 from woocommerce/issue-12-invoice-prefix
...
rename installation prefix to invoice prefix
2020-09-24 06:43:34 +00:00
Rasmy Nguyen
d1f1215dc9
Merge pull request #25 from woocommerce/issue-23-hide-credentials
...
Enable merchant to hide credentials after showing them
2020-09-24 06:24:21 +00:00
David Remer
6ee4ca0b2a
rename installation prefix to invoice prefix
2020-09-24 08:02:32 +03:00
David Remer
b01f03663e
add heading for checkout settings
2020-09-24 07:59:01 +03:00
David Remer
82f4d1e0af
change logic to show dcc logos only on checkout
2020-09-18 15:58:22 +03:00
David Remer
05d3f267b3
enable merchant to hide credentials after showing them
2020-09-18 13:06:48 +03:00
David Remer
3850b8be24
change description of credit messaging ratio setting
2020-09-18 12:55:47 +03:00
Jorge A. Torres
19e11d4cf7
Fix remaining coding standards issues
2020-09-17 17:57:00 -03:00
David Remer
ddd4f5ba09
downgrade dhii/module-interface to 0.1
2020-09-16 10:18:45 +03:00
David Remer
c09e314baa
call partners endpoint when rendering the dcc settings to check whether the pp account is able to process dcc.
...
In order to do so, it was also necessary to store the merchant id during onboarding. includes a bugfix where the cache invalidation did not work because the cache object was constructed with the wrong prefix key.
2020-09-16 10:00:28 +03:00
David Remer
22c7e3975f
remove description from dcc settings as no description is shown in the frontend.
2020-09-14 15:07:48 +03:00
David Remer
084eb2a908
relocate dcc fields to gateway description, use \WC_Payment_Gateway_CC, reutilize theme styles for dcc fields as much as possible
2020-09-14 14:17:39 +03:00
David Remer
6db0a457bf
remove CacheInterface and PSR related @throw doc comments
2020-09-14 07:29:20 +03:00
David Remer
9e2f1f4bf9
codestyle
2020-09-11 14:24:08 +03:00
David Remer
c788341887
change namespace vendor to WooCommerce
2020-09-11 14:11:10 +03:00
David Remer
c5899d915c
downgrade plugin to php 7.0
2020-09-11 13:38:02 +03:00
David Remer
5e011b4f95
rename plugin and slug to PayPal Payments for WooCommerce
2020-09-11 10:20:12 +03:00
David Remer
806c211e35
add fallback when get_current_screen returns null.
2020-09-11 10:17:03 +03:00
David Remer
49c66ecd00
do not show 'credit' funding source for UK merchants
2020-09-10 10:58:41 +03:00