Skip to main content
Contributor I
July 9, 2024
Solved

Want to know Payment Method Code that shows last 4 digits of card number

  • July 9, 2024
  • 1 reply
  • 157 views

Hi, the attached img is of our competitor’s email. I want to know what code can i use so to display the last 4 digits of a customer’s card no. under payment method just like in the img.

    This topic has been closed for replies.
    Best answer by Taylor Tarpley

    Hi there @Daddy

     

    Happy to help! 

     

    This information can be utilization in an Order Confirmation flow triggered by your website’s Placed Order. You should be able to look into the event data and pull the card information variable into your email.

     

     If you don’t see this information pulling through natively in the event data for this flow,  I’d suggest getting in touch with your integration’s support team to see if  the payment details (credit card company and credit card number) can be included in the data for the Placed Order event coming into Klaviyo for you to then pull into your email in a similar way. 

     

    Thanks for participating in the Community!

    -Taylor 

    1 reply

    Taylor Tarpley
    Community Manager
    Community Manager
    July 10, 2024

    Hi there @Daddy

     

    Happy to help! 

     

    This information can be utilization in an Order Confirmation flow triggered by your website’s Placed Order. You should be able to look into the event data and pull the card information variable into your email.

     

     If you don’t see this information pulling through natively in the event data for this flow,  I’d suggest getting in touch with your integration’s support team to see if  the payment details (credit card company and credit card number) can be included in the data for the Placed Order event coming into Klaviyo for you to then pull into your email in a similar way. 

     

    Thanks for participating in the Community!

    -Taylor