Page 1 of 1

Gift Vouchers Broken on 2.3.0.2 - OLD PROBLEM SOLVED

Posted: Fri Jul 07, 2017 3:38 am
by DrSnake
Gift Vouchers broken 2.3.0.2
If I create one in Admin, everything seems OK. Then I try to send, I get....

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

OK

<b>Notice</b>: Undefined index: in <b>/home/bagofs/public_html/shop2/system/library/cart/currency.php</b> on line <b>25</b><b>Notice</b>: Undefined index: in <b>/home/bagofs/public_html/shop2/system/library/cart/currency.php</b> on line <b>26</b><b>Notice</b>: Undefined index: in <b>/home/bagofs/public_html/shop2/system/library/cart/currency.php</b> on line <b>27</b><b>Notice</b>: Undefined index: in <b>/home/bagofs/public_html/shop2/system/library/cart/currency.php</b> on line <b>30</b>{"success":"Success: Gift Voucher e-mail has been sent!"}


It does email to recipient. It says at top "Congratulations, You have received a Gift Certificate worth 9" (I made it for $9.00, which didn't seem to pick up the characteristics it should.

If I try to redeem it, nothing happens at all in checkout.

Seems something is wrong with how it handles it as a currency. Any suggestions?

Re: Gift Vouchers Broken on 2.3.0.2

Posted: Sun Jul 09, 2017 8:16 am
by DrSnake
SOLVED

Re: Gift Vouchers Broken on 2.3.0.2 - OLD PROBLEM SOLVED

Posted: Thu Jan 04, 2018 3:16 pm
by Mitko93
How did you manage to fix it ? I have the same problem.

Re: Gift Vouchers Broken on 2.3.0.2 - OLD PROBLEM SOLVED

Posted: Tue Feb 27, 2018 2:11 am
by timeshell
Likewise, I have the same issue. How did you solve it please?

Re: Gift Vouchers Broken on 2.3.0.2 - OLD PROBLEM SOLVED

Posted: Fri Nov 02, 2018 7:05 am
by abccorp
I'm having the exact same issue. Please post your resolution. It may help the rest of us. Thank you.

Re: Gift Vouchers Broken on 2.3.0.2 - OLD PROBLEM SOLVED

Posted: Sun Jul 07, 2019 4:19 am
by asistentu
System - Settings - Server - Display Errors: NO

Re: Gift Vouchers Broken on 2.3.0.2 - OLD PROBLEM SOLVED

Posted: Sun Jul 07, 2019 4:48 am
by straightlight
asistentu wrote:
Sun Jul 07, 2019 4:19 am
System - Settings - Server - Display Errors: NO
That does not solve the issue. It only hides the error messages where also other features could be affected as those errors won't be shown neither by deactivating the displayed errors. Also take note that error messages can also appear in your server logs even though the display error option being disabled.