• Resolved roghithsam

    (@roghithsam)


    Hello (@wpswings),

    I trying to set wallet icon but it does not work why


    function wallet_gateway_icon( $gateways ) {
    if ( isset( $gateways['wps_wcb_wallet_payment_gateway'] ) ) {

    $gateways['wps_wcb_wallet_payment_gateway']->icon = 'https://site.com/wp-content/uploads/2025/01/wallet.png';
    }

    return $gateways;
    }

    add_filter( 'woocommerce_available_payment_gateways', 'wallet_gateway_icon' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Swings

    (@wpswings)

    Hello ,

    Thank you for using our plugin!

    In reference to your query, please let us know the section where you want to set the wallet icon and if you want to set it on the checkout page so can you let us know which checkout you are using default or block checkout.

    Regards

    Thread Starter roghithsam

    (@roghithsam)

    To set In Checkut Page, I am using default one [woocommerce_checkout],

    Plugin Author WP Swings

    (@wpswings)

    Hello ,

    Currently , we do not support setting up icon for wallet gateway but we have noted your point and will ensure to include it in our plugin updates in the near future.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.