Adding a custom svg in footer payment method

Hi there,

I have enabled the afterpay paymemt method in the footer section. Code below.

I want to enable the laybuy payment method. I have the svg file and have saved the location file in the FILES folder.

https://cdn.shopify.com/s/files/1/1154/3546/files/laybuy.svg?v=1678797874

How can I enable this using the code below.

I tried replacing ‘afterpay’ with ‘https://cdn.shopify.com/s/files/1/1154/3546/files/laybuy.svg?v=1678797874’ but it didnt work.

{% for type in shop.enabled_payment_types %} {{ type | payment_type_svg_tag: class:'payment-icon' }} {% endfor %}

{{ ‘afterpay’ | payment_type_svg_tag: class:‘payment-icon’ }}

Please mention was theme you’re using and attach a URL to your store for better understanding.

We are using the theme Testament v 10.0 and the URL is

https://www.lafemmebeauty.co.nz/