Philipp Stracker
7a106742e3
🚚 Rename environment-service
2025-02-17 18:48:38 +01:00
Philipp Stracker
a59cf7f285
♻️ Refactor the Environment service
...
The goal is to make the Environment instance independent of a Settings-instance, since legacy UI and new UI store settings in different classes and data formats.
2025-02-17 18:43:56 +01:00
Philipp Stracker
70c44b1f18
♻️ Consolidate ‘api.host’ service logic
2025-02-03 14:50:41 +01:00
Philipp Stracker
1286d0866e
🚚 Extract services from onboarding module
2025-02-03 14:34:25 +01:00
Philipp Stracker
81ca5dd00e
♻️ Use cache service instead of direct creation
2025-02-03 13:42:26 +01:00
Philipp Stracker
0b77ff9e55
♻️ Extract bearer-logic from onboarding module
2025-02-03 13:40:12 +01:00
Philipp Stracker
5c7fc56d12
🐛 Add missing use
statement
2025-02-03 13:39:16 +01:00
Philipp Stracker
11f3071579
✨ New services to check the onboarding status
2025-01-30 17:12:50 +01:00
Daniel Dudzic
6993038c05
Settings UI: Add Settings tab Redux store
2025-01-17 13:59:17 +01:00
Philipp Stracker
f384d361cf
♻️ Move code from onboarding- to api-client-module
2025-01-09 12:36:05 +01:00
Philipp Stracker
263806904b
♻️ Move code from old onboarding to api module
...
To make services reusable in the new settings module, without creating a dependency on the old module
2024-11-08 17:13:20 +01:00
inpsyde-maticluznar
ce5749791e
Prevent plugin use for send only countries
2024-10-21 11:57:45 +02:00
Emili Castells Guasch
54657ed649
Add tokens cache
2024-08-06 10:44:54 +02:00
Alex P
5c699c24a5
Refactor checkoutnow url generation
2023-11-14 10:54:56 +02:00
Pedro Silva
43136ecf3c
Refactor onboarding link update endpoint refactor.
2023-09-26 13:58:33 +01:00
Pedro Silva
c035cdaf3e
Add previous token validation for OnboardingUrl
...
Add retries on listen_for_merchant_id() to wait for client_id and signature
2023-07-31 18:20:39 +01:00
Alex P
818dbcf107
Add isolated container and dhii modularity deps
2022-11-09 10:13:03 +02:00
dinamiko
f1e54ced4f
Get signup links without reloading the page (WIP)
2022-05-27 14:53:55 +02:00
dinamiko
9b88d1a4ae
Move signup link cache into a service
2022-05-26 11:29:09 +02:00
dinamiko
f813cf451a
Cache partner referrals signup links
2022-05-25 09:42:37 +02:00
dinamiko
e9cf818799
Fix phpcd (WIP)
2022-04-14 17:17:56 +02:00
dinamiko
317ac3f7e8
Onboard pui optionally for merchants (wip)
2022-04-11 12:50:05 +02:00
Alex P
22beac0c79
Hide US fees and chargeback protection for non-US
2022-02-23 11:29:00 +02:00
Alex P
a6689eb371
Merge branch 'trunk' into pcp-541-onboarding
2022-02-22 16:49:34 +02:00
Emili Castells
7caecef8d9
Merge pull request #502 from woocommerce/pcp-566-assets-version
...
Use plugin version for assets version
2022-02-22 15:48:30 +01:00
Alex P
f6446f5ced
Update onboarding options UI
2022-02-22 14:32:57 +02:00
Alex P
4a858bd5b8
Load onboarding assets only on the first tab
2022-02-22 09:55:46 +02:00
Alex P
0c07ebd629
Use plugin version as asset version
2022-02-17 18:51:24 +02:00
Alex P
44cb17107c
Fix sandbox checkbox
...
Sometimes the state of UI may get restored after page reload and will not match the server settings
2022-02-08 10:25:01 +02:00
Alex P
cb2adfd044
Remove unused
2022-02-08 10:12:38 +02:00
Alex P
8b3f6cb613
Merge branch 'trunk' into pcp-370-onboarding
2022-01-21 15:06:16 +02:00
Alex P
ff8c6fdf01
New onboarding options, buttons
2022-01-17 17:59:35 +02:00
Alex P
314ba44bb9
Use realpath for __FILE__ when creating url
...
on some sites __FILE__ contains .. which breaks url creation
2022-01-14 16:35:13 +02:00
Alex P
3b488fbf8e
Allow to specify products value in partner referrals data
2022-01-14 13:56:52 +02:00
dinamiko
57ff2cc649
Fix merge conflicts
2021-09-30 12:52:15 +02:00
Alex P
7ef5991cb8
Log endpoint errors
2021-09-23 17:19:46 +03:00
Anton Ukhanev
9f2496ada0
Change case of OnboardingRestController
class name
2021-09-13 16:28:47 +02:00
Anton Ukhanev
b56484e46c
Bring remaining classes to comply with PSR-4
2021-08-26 17:17:28 +02:00
Anton Ukhanev
cabcb7d9e4
Add Container typehint to all service definitions
2021-08-26 11:10:16 +02:00
dinamiko
817a460666
Fix phpcs errors
2021-07-27 14:29:05 +02:00
dinamiko
ebc4316f83
Use client id and secret from persisted settings if available
2021-07-26 16:08:32 +02:00
Jorge A. Torres
11aa5daca9
Add REST routes related to onboarding
...
Adds various routes under `/wc-paypal/v1/onboarding` including `/status` (onboarding status), `/set-credentials` (manually set merchant ID/email and keys) and `/get-params` (information useful for presenting the user with an onboarding button).
2021-02-04 16:26:16 -05:00
David Remer
2996bdbe8b
change credentials, endpoint urls, plugin url, js sdk date
2020-10-13 09:42:34 +03:00
Jorge A. Torres
02718c6c77
Rename plugin to "WooCommerce PayPal Payments"
2020-10-09 19:00:00 -03:00
David Remer
81bedf3a80
move api urls to constants
2020-10-01 08:53:44 +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
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
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
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