mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Fix ajax URLs on multisite
This commit is contained in:
parent
3afb73d34c
commit
1a9fbc1303
5 changed files with 10 additions and 10 deletions
|
@ -50,7 +50,7 @@ class ApplicationContextRepository {
|
|||
$landingpage = $this->settings->has( 'landing_page' ) ?
|
||||
$this->settings->get( 'landing_page' ) : ApplicationContext::LANDING_PAGE_NO_PREFERENCE;
|
||||
$context = new ApplicationContext(
|
||||
(string) home_url( \WC_AJAX::get_endpoint( ReturnUrlEndpoint::ENDPOINT ) ),
|
||||
\WC_AJAX::get_endpoint( ReturnUrlEndpoint::ENDPOINT ),
|
||||
(string) wc_get_checkout_url(),
|
||||
(string) $brand_name,
|
||||
$locale,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue