Confirmation email customization specifically for Shopify Payments

MOCHILOCO
Tourist
11 0 3

I have various payment methods for my site and so far I've managed to customize the emails for my alternative payment methods, but I cannot seem to create a custom message for shopify payments.

For example, it works when I use 'if' statements such as this:

{% if order.transactions[0].gateway == "Nequi" %}

blah blah blah

{% endif %}

 

But it does not work if I attempt to do something like this:

{% if order.transactions[0].gateway == "shopify_payments" %}

blah blah blah

{% endif %}

 

Basically, I want the beginning of the email visible to all customers (which it currently is) but there are a few lines of text that I want visible SPECIFICALLY for orders made through shopify payments (something I do not want other customers to see if they have used an alt payment method.)  Can this be done? It is driving me crazy.  Thanks for the help in advance.

0 Likes