mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Use full URL for return endpoint
This commit is contained in:
parent
1a9fbc1303
commit
703656bec2
2 changed files with 2 additions and 2 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(
|
||||
\WC_AJAX::get_endpoint( ReturnUrlEndpoint::ENDPOINT ),
|
||||
network_home_url( \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