Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Edit the plugin you will find an array on top section of plugin file search for visa or amex and you will see it and make sure to add a card logo in image folder with cardid.png as name or use hook to override the image instead from functions.php and internally you can accept any card

    Just to show logo to visitors you can add a hook to functions.php of theme to override logo shown at checkout

    Thanks

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    Here’s hook to change logo at checkout

    function stripe_gateway_icon($icon) {
    
            return '<img  src="'http://yourwebsite.com/wp-content/uploads/logo.png" alt="customcard" />'; 
    
            return $icon;
    }
    add_filter( 'woocommerce_stripe_icon', 'stripe_gateway_icon', 10, 2 );

    You can put absolute url or your custom logo or image

    And it will accept any card internally that section is just for users ( buyers ) to know which cards you accept

    Thread Starter logicred

    (@logicred)

    Thanks 😉 Perfect.

    Plugin Author syednazrulhassan

    (@nazrulhassanmca)

    If that works i appreciate you leaving a review thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to add additional 'accepted cards'’ is closed to new replies.