1 Attachment(s)
Gift Certificate Code duplicated
Hey everyone,
I've noticed an issue in our ZenCart store where the Gift Certificates seem to be not working. When customers redeem their gift certificates, the code appears twice, and the site gives this message to the customer:
"REDEEM GIFT CERTIFICATE
The Gift Certificate number b25aced79cb25aced79c may be invalid or has already been redeemed. To contact the shop owner please use the Contact Page
For more information regarding Gift Certificate, please see our Gift Certificate FAQ."
As you can see, the code shows twice, but I'm not sure what could be the problem.
Could someone please guide me to see where the error could be?
Thanks in advance for your assistance! :)
Attachment 20616
Re: Gift Certificate Code duplicated
Quote:
Originally Posted by
Thepapershelter
Hey everyone,
I've noticed an issue in our ZenCart store where the Gift Certificates seem to be not working. When customers redeem their gift certificates, the code appears twice, and the site gives this message to the customer:
"REDEEM GIFT CERTIFICATE
The Gift Certificate number b25aced79cb25aced79c may be invalid or has already been redeemed. To contact the shop owner please use the Contact Page
For more information regarding Gift Certificate, please see our Gift Certificate FAQ."
As you can see, the code shows twice, but I'm not sure what could be the problem.
Could someone please guide me to see where the error could be?
Thanks in advance for your assistance! :)
Attachment 20616
Once the user clicks the link it is redeemed to them.
Re: Gift Certificate Code duplicated
Thank you for your response, but as you can see the code appears duplicated and the customer cannot redeem their Gift Certificate. Now the code doesn't even appear as a link. Could you help me with this so you know what is happening?
Re: Gift Certificate Code duplicated
Quote:
Originally Posted by
Thepapershelter
Thank you for your response, but as you can see the code appears duplicated and the customer cannot redeem their Gift Certificate. Now the code doesn't even appear as a link. Could you help me with this so you know what is happening?
What version of Zen Cart? What PHP version? Any plugins installed?
&
Have you edited root/email/email_template_gv_send.html
~Melanie
Re: Gift Certificate Code duplicated
Thank you Mleanie for your response. My version of zencart is v1.5.7. I do not have any plugin installed in relation to Gift Certificates. I have not modified the file you told me either.
Veronica
Re: Gift Certificate Code duplicated
Quote:
Originally Posted by
Thepapershelter
Thank you Mleanie for your response. My version of zencart is v1.5.7. I do not have any plugin installed in relation to Gift Certificates. I have not modified the file you told me either.
Veronica
Please list your plugins as they can be relevant from other functions. Also what version of PHP? Find it under Tools >> Server version info
Re: Gift Certificate Code duplicated
here is my email_template_gv_send.html:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$CHARSET" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="$BASE_HREF" />
<style type="text/css">
$EMAIL_COMMON_CSS
</style>
</head>
<body>
<div class="holder" id="gv_send">
<!-- Header Section -->
<div class="header">
<img src="$EMAIL_LOGO_FILE" alt="$EMAIL_LOGO_ALT_TEXT" title="$EMAIL_LOGO_ALT_TEXT" width="$EMAIL_LOGO_WIDTH" height="$EMAIL_LOGO_HEIGHT" border="0" />
$EXTRA_HEADER_INFO
</div>
<!-- Content Section -->
<div class="content">
<div><img src="email/gv.gif" width="100" height="80"><span class="gv-amount">$EMAIL_GV_AMOUNT</span> - <span class="gv-code">$GV_REDEEM_CODE</span></div>
<div class="store-name">$EMAIL_STORE_NAME</div>
<div class="content-line">$EMAIL_GV_TEXT_HEADER $EMAIL_GV_AMOUNT</div>
<div class="content-line">$EMAIL_GV_FROM $EMAIL_GV_MESSAGE</div>
<div class="content-line"><tt>$EMAIL_GV_SEND_TO</tt></div>
<div class="content-line"><tt>$EMAIL_MESSAGE_HTML</tt></div>
<hr />
<div class="content-line">$GV_REDEEM_HOW<br />$GV_REDEEM_URL</div>
<div class="content-line">$EMAIL_GV_FIXED_FOOTER</div>
<div class="content-line">$EMAIL_GV_SHOP_FOOTER</div>
</div>
<!-- Footer Section -->
<div class="footer">
<div class="copyright">$EMAIL_FOOTER_COPYRIGHT</div>
</div>
</div>
<div class="disclaimer">
<div class="disclaimer1">$EMAIL_DISCLAIMER</div>
<div class="disclaimer2">$EMAIL_SPAM_DISCLAIMER</div>
</div>
<div class="extra-info">
$EXTRA_INFO
</div>
</body>
</html>
Re: Gift Certificate Code duplicated
Re: Gift Certificate Code duplicated
Please list your plugins as they can be relevant from other functions. Also what version of PHP? Find it under Tools >> Server version info
If you can't, we can't help you.
Re: Gift Certificate Code duplicated
This is something that happened recently and I did not install any plugin before this problem
Re: Gift Certificate Code duplicated
Quote:
Originally Posted by
Thepapershelter
PHP Version 7.3.33
Try updating to the recommended PHP 7.4 maybe...
Re: Gift Certificate Code duplicated
The situation begs these questions:
How are these customers "getting" these redemption codes?
Are the codes already "doubled" in the email they received?
Are they sent from "you" via your store Admin area?
Are they getting it from other customers sharing GV's with them?
Are they purchasing these GV's and the store is emailing it to them?
Do you have the admin GV Queue enabled? If so then it could be something in the queue approval process.
(GV = "Gift Voucher/Certificate")
Re: Gift Certificate Code duplicated
Hi DrByte! Thank you for your answer!
I send the GV from the Admin panel, and they receive the email with the code sent from the store. Once they click on the link to redeem the GV and return to the store, the code appears duplicated on the store page where it is redeemed, and they cannot redeem it, receiving this message (the number is just a sample): "The Gift Certificate number fbdc184810fbdc184810 may be invalid or has already been redeemed. To contact the shop owner please use the Contact Page." Yes, the admin GV Queue is enabled.
I hope this helps to clarify the issue.