Jump to content

Custom JSON variable for donation email

Recommended Posts

Posted

I am creating a new site with the Bedford template for a client and am working on the donation feature. On their old site they have it setup to send an email to the person that makes a donation and would like the same thing on their Squarespace site. I have worked to replicate their old email as much as I can using the Commerce > Customer Notifications section of the admin but have something that I am not able to replicate.

At the top of the donation email, my client would like the customer's name and address to be listed. Their name is easy, since it is one of the 4 JSON variables listed here for donation emails: https://support.squarespace.com/hc/en-us/articles/206540797-Commerce-email-notifications

However, that leaves street address, city, state and zip. Those are collected in the PayPal form but I don't know how to get them to show up in the donation email.

If using the PayPal text fields isn't an option, can I create custom text fields in the "Additional Information" section of the Donation Block edit window that will create custom JSON variables that I can place inside my donation emails?

Thank you in advance for any light you can shed on this issue.

  • Replies 0
  • Views 892
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.