Can liquid objects alter notification content based on EFT choice?

Topic summary

A user inquired about using the unique_gateways liquid object to customize notification content when customers select EFT (Electronic Funds Transfer) as their payment method.

Solution Provided:

  • Conditional logic can be added within the unique_gateways loop to detect EFT selection
  • Use an {% if provider == 'EFT' %} statement to display EFT-specific content
  • Include an {% else %} clause for generic messaging when other payment methods are chosen

Implementation Notes:

  • The actual value returned by the gateway object should be verified (may differ from ‘EFT’)
  • The approach allows differentiated messaging based on payment provider selection

Status: Question resolved with working code example provided.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

Hi there, Is anybody able to assist with if using the below object will allow me to change notification content based on a customer choosing the EFT option within our website?

{% for provider in unique_gateways %}

{{provider | capitalize}}

{%endfor%}

1 Like

Hi @Chris_Buckels

Yes, you can alter notification content based on the customer’s EFT choice using the unique_gateways object. Here’s how:

1-Check the payment provider within the unique_gateways loop:

{% for provider in unique_gateways %}

{% if provider == ‘EFT’ %}

Payment via EFT

Additional EFT-specific content here.

{% else %}

{{ provider | capitalize }}

{% endif %}

{% endfor %}

2-Replace ‘EFT’ with the actual value returned by the gateway object for EFT payments, if different.

This will display content specific to EFT or a generic message for other payment methods.

If you have other questions, feel free to ask, and I will answer them as well.

Best regards,
Daisy