SueGrant
Forum Replies Created
-
Hi I have a similar problem but think I have found what’s going wrong – I just don’t know how to fix it…..
I installed VoucherPress and deactivated all my other Plugin’s. I set “require email” to YES and “Number of vouchers available to 20” so as to restrict how many could be downloaded.
Using a Desktop running windows 7 and Chrome browser I requested a voucher, received an email with a link and then proceeded to download and view/print my voucher – all worked well. Looking behind the scenes at the table called “voucherpress_downloads” I could see one record for my downloaded voucher.
The problem occurs when I use my Android Tablet or Android Phone (sorry I don’t have anything “Apple” so can’t comment on how it works with those devices). Using my Android Tablet I requested a voucher and subsequently received an email with a link which I then proceeded to download.
After downloading I tried to open my voucher (in various PDF readers), but received a message saying “Not a valid PDF file”. When I opened the voucher in a text reader I could see this in the first line:
<!– The voucher has already been downloaded by this person –>
I knew I hadn’t downloaded the voucher before so I looked at the records in the “voucherpress_downloads” table. There were two records for my Android download. In other words whenever I use my Android devices I get duplicate entries which then cause VoucherPress to think I have already downloaded the voucher when I haven’t at all.
The other problem this duplication causes is with my voucher “limit” as it thinks twice as many vouchers have been downloaded than actually have.
As I say it all works fine with Windows so why the duplicate records when downloaded on an Android device. Does anyone have any thoughts?
Many thanks
Susan