Post by jmnet.dk » Sat Dec 24, 2022 12:19 am

Hello
We hare Opencart 3.0.3.8 installed and all works like smoof, but the last days we have got a lot of fake gift vouchers in the admin under Sale-gift vouchers.
If i want to delete them i first have to delete en the failed order har createt the gift voucher.
How can i prevent to get those fake gift vouchers??
I have search for a kind of spam protecion but without any luck.
Sorry for my bad english

Br
Jens

New member

Posts

Joined
Wed Jan 04, 2012 3:44 am

Post by Joe1234 » Sat Dec 24, 2022 1:05 am

Are you saying people are putting through orders with your store gift vouchers you never actually created and your shop is accepting them and processing the discount?

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by jmnet.dk » Sat Dec 24, 2022 3:08 am

No the vouchers Can not be used - but i wonder why they are there when the order where the voucher is created not is complete

New member

Posts

Joined
Wed Jan 04, 2012 3:44 am

Post by pixelhaus » Tue Jan 10, 2023 6:44 pm

Hi there,
We have a new v3.0.3.8 site and getting the same thing. Did you find a solution ?

New member

Posts

Joined
Mon Sep 26, 2011 3:57 pm

Post by street454 » Tue Oct 10, 2023 2:35 am

We use 3.0.3.7 - and the same thing. It all started after installing an extension to bulk load coupons. At first very few - now all the time. They are able to place an order for the gift vouchers which is stupid - they are not ordering product just gift vouchers so it does nothing but muddy up my system.
I go into gift vouchers and delete them and then delete the orders - but how do I stop this? I have guest checkout banned - we do custom screen printing so we need the contact information, these "orders" have no contact info at all. We don't use gift vouches - I have been looking at API's to see if that is a way to stop them. I have deleted a couple of I/P's from Russia and some in the United States but I don't know if I can just delete all the I/Ps but my own. (I see the sessions from after the orders are placed) Any input/help would be appreciated as I don't know anything about API's...

Newbie

Posts

Joined
Wed Jul 15, 2015 12:57 am

Post by ADD Creative » Tue Oct 10, 2023 3:02 am

If you don't use vouches you could remove catalog/controller/account/voucher.php and any links to account/voucher.

Or just comment out this section to stop them being created.
https://github.com/opencart/opencart/bl ... hp#L14-L27

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by street454 » Tue Oct 10, 2023 8:13 am

Thank You -
I have commented out the code in hopes that solves!

Newbie

Posts

Joined
Wed Jul 15, 2015 12:57 am

Post by paulfeakins » Wed Oct 11, 2023 7:57 pm

street454 wrote:
Tue Oct 10, 2023 8:13 am
Thank You -
I have commented out the code in hopes that solves!
Be sure to come back and let us know if it does!

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by street454 » Wed Oct 25, 2023 7:32 pm

Commenting out the code took care of the problem! Thank You!
Last edited by street454 on Tue Dec 05, 2023 4:20 am, edited 1 time in total.

Newbie

Posts

Joined
Wed Jul 15, 2015 12:57 am

Post by paulfeakins » Thu Oct 26, 2023 10:03 pm

street454 wrote:
Wed Oct 25, 2023 7:32 pm
Commenting out the code took care of the problem! Thank You!
So please add [SOLVED] to the start of the post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 19 guests