1/25/2025

Adding Payment Details to Shopify Order Confirmation Emails

Order confirmation emails are super CRUCIAL for any online store. Not only do they provide customers a RECAP of what they just purchased, but they also build trust & improve communication. One way to LEVEL UP these emails is by including payment details. You've landed in the right place if you're wondering how to do this in Shopify!

Why Payment Details Matter

Including payment details in your order confirmation emails serves several purposes:
  • Transparency: Customers appreciate knowing how their payment was processed. By showing payment methods, it reduces any anxieties regarding their transactions.
  • Trust Building: When you provide clear information about the payment, it enhances your brand's credibility. Customers will feel more secure in their purchase decisions.
  • Record Keeping: For customers, having payment details easily at hand is GREAT for their own financial records. They won’t have to hunt through emails to find the necessary info later.

What To Include in Payment Details

When customizing your Shopify order confirmation emails, it’s essential to consider what information you want to provide:
  1. Payment Method: The type of payment used (e.g., Visa, MasterCard, PayPal).
  2. Last Four Digits of Credit Card: Including only the LAST four digits of the card adds a layer of privacy while still providing recognition of how they paid.
  3. Payment Status: Whether the payment is PENDING or COMPLETED can help manage expectations.

Steps to Customize Your Shopify Order Confirmation Emails to Include Payment Details

Step 1: Accessing Your Notification Settings

To begin the customization process, you need to go into your Shopify Admin. Here’s how you do that:
  • Log into your Shopify admin panel.
  • Click on Settings at the bottom left corner.
  • Select Notifications.
From here, you can find the Order confirmation section, which is where you'll make your changes.

Step 2: Editing the Order Confirmation Email

Once you’re in the Notifications screen:
  • Find the Order Confirmation template.
  • Click on Edit Code. Here you will enter the liquid code section to pull in the payment details.

Step 3: Adding Liquid Variables for Payment Details

Now comes the fun part! You’ll want to insert specific Liquid code into your email template to fetch & display the payment details. Here’s a sample of what your code might look like:
1 2 3 4 5 6 liquid {% for transaction in order.transactions %} Card Type: {{ transaction.payment_details.credit_card_company }} <br /> Card Number: **** **** **** {{ transaction.payment_details.credit_card_number | slice: -4 }}<br /> Payment Status: {{ transaction.status }}<br /> {% endfor %}

Explanation of the Code

  • This loop iterates through each transaction associated with the order, grabbing details such as the credit card company (Card Type), the last four digits of the credit card number, and the payment status. By hiding the first twelve digits, you’re ensuring CUSTOMER privacy while still providing necessary information.

Step 4: Previewing Changes

After you save your updated email template, it’s always a good idea to PREVIEW the changes. Shopify has a preview option available, allowing you to see how your email will look with the new information included.

Step 5: Test Your Email

You can go a step further by making a TEST transaction using a test card (try a low-value transaction), ensuring that the email gets triggered with accurate data. This will help catch any potential hiccups before your customers see the updates.

Important Considerations

Before you finalize things, consider a couple of crucial points:
  • Privacy: Ensure that you’re complying with local regulations about displaying sensitive payment information.
  • Customer Support: Make sure your customers have a way to reach your customer service if they have questions regarding their payment.

Keep It Professional

Having a slick layout for your order confirmation emails, including payment details, not only reinforces your brand image but also enhances the overall customer experience. Use Shopify's Orderly Emails to manage your templates easily & stylishly. Such third-party apps can help simplify customizing templates with STUNNING designs AND layouts.

Wrapping It Up

Adding payment details to your Shopify order confirmation emails is a SMART move. It creates a sense of TRANSPARENCY, boosts trust, and provides your customers with crucial information they may need later. Don’t forget that tools like Arsturn can significantly enhance your engagement with chatbots to help assist customers before they say goodbye for good!
The process of adjusting these emails might seem a bit technical, but once you dive in & apply these steps, it becomes a cakewalk, helping you tailor your customers’ experiences.
Jump into your Shopify admin today & give your order confirmation emails the makeover they deserve!

Arsturn.com/
Claim your chatbot

Copyright © Arsturn 2025