Home > Docs > PayPal Express Checkout Payment Gateway for WooCommerce > Customize PayPal Credit/Debit Card Icons on the WooCommerce Checkout Page

Customize PayPal Credit/Debit Card Icons on the WooCommerce Checkout Page

Last updated on October 4, 2023

PayPal Express Checkout Payment gateway plugin displays PayPal credit/debit card checkout options at the checkout page as shown below:

PayPal Credit/Debit Icons in the Checkout
PayPal Credit/Debit Icons in the Checkout

If you wish to remove or edit the Credit/Debit card images embedded with the checkout option, use can use follow the given methods.

Remove credit/debit card icons from checkout page

To remove or hide the debit/credit card icons:

  • From your WordPress dashboard, go to Appearance > Theme editor.
  • Then, add the below given code snippet at the bottom end of functions.php of the active theme file.
  • Alternatively, if you weren’t able to locate the functions.php file, refer to this article to know more on how to add a code snippet to your theme file.

Adding the above code snippet will remove the credit/debit card icons from the checkout page as shown below:

PayPal Credit/Debit Icons Removed
PayPal Credit/Debit Icons Removed

Change the credit/debit card icons in the checkout page

To change the debit/credit card icons:

  • From your WordPress dashboard, go to Appearance > Theme editor.
  • Then, add the below given code snippet at the bottom end of functions.php of the active theme file.
  • Alternatively, if you weren’t able to locate the functions.php file, refer to this article to know more on how to add a code snippet to your theme file.

Adding the above code snippet will replace the credit/debit card icons with another image, as shown below.

PayPal Credit/Debit Icons - Custom Image
PayPal Credit/Debit Icons – Custom Image

However, if you wish to add an image of your choice simply replace the URL in within the code snippet with the URL of the image to display. For example, $icon_url=’ //insert image URL here’;

You can learn more about the plugin by viewing this short set up tutorial on PayPal express checkout payment gateway.