Jorge A. Torres
b630c4291c
Add support for select2 change events in settings
2020-10-15 15:51:05 -03:00
Jorge A. Torres
5c467b2188
Disable ‘dirty form’ fix in onboarding JS as it conflicts with other handlers
2020-10-15 15:51:05 -03:00
Jorge A. Torres
5ad190aed0
Make Settings class render fields in a more WC-friendly way
2020-10-15 15:51:05 -03:00
David Remer
2996bdbe8b
change credentials, endpoint urls, plugin url, js sdk date
2020-10-13 09:42:34 +03:00
David Remer
04da406447
delete dcc product status flag when changing the credentials
2020-10-13 09:41:36 +03:00
Jorge A. Torres
02718c6c77
Rename plugin to "WooCommerce PayPal Payments"
2020-10-09 19:00:00 -03:00
David Remer
d865b4f8fc
remove unused files
2020-10-08 07:22:43 +03:00
David Remer
abb2346c9f
codestyle
2020-10-06 14:46:28 +03:00
David Remer
722b67a3d1
make sure to store sandbox_on even when method throws error
2020-10-06 14:41:44 +03:00
David Remer
951092558d
remove the alert box in javascript when onboarding fails
2020-10-02 12:11:07 +03:00
David Remer
7521e63ef4
add semicolons
2020-10-01 10:00:21 +03:00
David Remer
2a099b0634
simplify should_render logic
2020-10-01 09:00:09 +03:00
David Remer
81bedf3a80
move api urls to constants
2020-10-01 08:53:44 +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
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
3733576dff
fully onboarded needs all credentials being present
2020-09-25 11:24:05 +03:00
David Remer
d7cd055a28
connect the referral endpoints always to the connect.woocommerce instance
2020-09-25 10:09:35 +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
b41e760df6
fix button toggle, which was prevented from the general checkbox change handler
2020-09-24 13:40:43 +03:00
David Remer
6d8b6bf693
prevent 'do you want to leave'-alert when redirect occurs through paypal module.
2020-09-24 12:50:35 +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
09a5f0e466
enable loginseller endpoint to switch between sandbox and live
2020-09-24 10:29:09 +03:00
David Remer
6f870ec7a5
render sandbox and live connect button and toggle between those depending on sandbox checkbox
2020-09-24 09:58:28 +03:00
David Remer
b70819847b
load onboarding script on start screen
2020-09-24 09:57:55 +03:00
David Remer
25fa11b0f8
extract sandbox host into its own container key.
...
With #21 , we do not know anymore if we are currently in sandbox or production mode. We seperate the two hosts, so we can later instantiate different Api endpoint objects with different hosts. This enables us to call two different hosts in the same PHP process. In the current scope, just seperating the hosts (and not secrets/keys) should be sufficient.
2020-09-24 08:41:08 +03:00
David Remer
25c87a8da8
hide disabled credit cards in the logo selection
2020-09-24 07:49:31 +03:00
David Remer
de28575d59
use display:unset to avoid the underline disappearing
2020-09-23 12:28:44 +03:00
David Remer
05d3f267b3
enable merchant to hide credentials after showing them
2020-09-18 13:06:48 +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
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
9a127ced6a
prevent connect paypal link default only when PAYPAL has not loaded yet
2020-09-08 10:12:32 +03:00
David Remer
c886d3b57c
enable group toggle for new checkout button enabler
2020-09-03 12:28:43 +03:00
David Remer
8aef527108
fix some logic in toggling settings
2020-09-02 12:58:06 +03:00
David Remer
a3ee3368da
delete some references to modules.locale
2020-09-01 14:53:03 +03:00
David Remer
f2723c523e
codestyle
2020-09-01 14:43:46 +03:00
David Remer
f8e82bdfaf
move module.local to module
2020-09-01 14:21:58 +03:00