impress-org/givewp-snippet-library

PayPal Cancel Redirect not working

matheuswd opened this issue · 0 comments

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.