Gift card form/notification not being sent to the recipient email

Gift card form/notification not being sent to the recipient email

lucassilveira
Shopify Partner
2 0 0

Hi,
I'm implementing a recipient form for gift cards, but the gift card email is only being sent to the buyer's email, not the recipient's email.

In the email I receive (as the buyer), I can't see the form information (recipient name, email, and message), even though they appear correctly on the order page as line item properties. I'm using these names for the form:

<input type="email" id="gift-card-recipient-email" name="properties[Recipient email]" required>
<input type="text" id="gift-card-recipient-name" name="properties[Recipient name]" required>
<textarea id="gift-card-recipient-message" name="properties[Message]" maxlength="200"></textarea>


The store is on Shopify Plus and uses a 2.0 theme, but it's currently using a test payment gateway, could that be affecting the email information and delivery?

Thanks.

Reply 1 (1)

lucassilveira
Shopify Partner
2 0 0

The issue was that I was forgetting this input—problem solved.

 
<input type="checkbox" id="gift-card-send-checkbox" name="properties[__shopify_send_gift_card_to_recipient]">