• Resolved avigdor

    (@avigdor)


    Hi.
    Installed the plug-in.. problem is that I need always to capture a token. It seems this happens only when client presses ‘save to account’ option.
    Is there a way to either always save tokens by default or mark the check box with no uncheck option?
    Thanks!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • You could use this filter to force token creation upon successful transaction:

    add_filter( 'wc_pelecard_gateway_iframe_args', function( $args ) {
    	if ( is_user_logged_in() ) {
    		$args['CreateToken'] = true;
    	}
    	return $args;
    } );
Viewing 1 replies (of 1 total)
  • The topic ‘Tokenization using Pelecard plugin’ is closed to new replies.