givewp-snippet-library
givewp-snippet-library copied to clipboard
PayPal Cancel Redirect not working
The following snippet was implemented in a local and production environment and it looks like it always returns the home URL.
https://github.com/impress-org/givewp-snippet-library/blob/master/gateway-customizations/paypal/paypal-standard-custom-cancel-redirect.php
It was tested using var_dump(give_get_current_page_url())
and it always return home.