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
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
a3ee3368da
delete some references to modules.locale
2020-09-01 14:53:03 +03:00
David Remer
f8e82bdfaf
move module.local to module
2020-09-01 14:21:58 +03:00