• I’m using ngrok to tunnel callbacks to a public URL instead of localhost when working locally but right now there’s no possibility of changing the callback URL. Would you consider adding a filter to get_callback_url()? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • We need this too ??

    Thread Starter emileriksen

    (@emileriksen)

    @jenskirk If you need a temporary solution, you can get transactions working with the woocommerce_quickpay_transaction_link_params filter:

    
    add_filter( 'woocommerce_quickpay_transaction_link_params', function( $params ) {
        $params['callbackurl'] = $newurl;
    
        return $params;
    } );
    

    The callback URL is used other places though but I’m not sure for what exactly.

    • This reply was modified 7 years, 7 months ago by emileriksen.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add filter to get_callback_url()’ is closed to new replies.