Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

gv_send sends out multiple vouchers with browser refresh.


stampscrap

Recommended Posts

Hi all

 

I've installed 5.18 of the Credit Class and Gift Voucher module today and I'm runing through some checks for weaknesses.

 

When a customer sends a GV to someone, they get their confirmation message that the GV has been sent from gv_send.php?action=process. If the user refreshes their browser page before clicking 'continue', a new GV is generated and sent to the person. I only noticed this because the GV redeem codes changes. The customers account is debited each time they press refresh.

 

I tried looking, but couldn't find talk about this. Is there a way to prevent this side-effect?

 

Thanks.

Edited by stampscrap
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...