
Originally Posted by
TamyA
Update:
About the PayPal Express checkout, currently i am getting the url kind of missed up
www.mysite.com/ipn_main_handler.php.html?type=ec, as you see i am having an extension addes to the file even though i enabled
Core: Default Skips Skip urls with extensions [most likely real files].
I tried to follow
dreamscape solution
but i could not even find the function he mentioned in that file
I got this problem solved by adding the following lines
Code:
// don't rewrite the paypal IPN notify url
if ($page == 'ipn_main_handler.php') {
return $this->buildStockHrefLink($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
to the file includes\classes\seo\seo.url.php right after
Code:
/**
* don't rewrite pages we should skip
*/
if ($this->plugins->skipSeoUrl($page, $parameters, $connection) === true) {
return $this->buildStockHrefLink($page, $parameters, $connection, $add_session_id, true, $static, $use_dir_ws_catalog);
}
As dreamscape suggested a couple of years ago, but the location and the name of the function has changed a bit. it seems it is removing the .html every where the button shows up.
to be honest with you, PayPal Express checkout was a challenge for me even on the my live site, i was never been able to get it to work, every time that button was clicked it show the following error
Return to Merchant
This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow.
and the same error i get when i remove the .html extension and reload the page.
This another one of those things, i was able to to pass that by setting the cURL correctly in the admin>configuration>mystore.
Bookmarks