Jump to content

Coupon Authentication Hack


holisticpro

Recommended Posts

Hi guys,

 

I have a coupon software developed in PHP by some developers but I need to add a small functionality as the developers are not reachable anymore. The software is based on the LAMP model.

 

I am NOT a PHP developer but can reasonably work with this stuff.

 

First, let me give you a brief background of the system.

 

The user gets the coupon from the website that the system auto generates and stores them in the user mgmt area which is coming from the mySQL database.

 

Basically I need 3 things.

 

1. I need to have an encrypted URL (must be available from my system) that should carry both the code of the coupon (already system generated) and the Merchant ID (already in the system).

 

2. A small javascript or any other PHP code (to be placed in Merchant's sales page) that authenticates THIS URL which then calls an encrypted special page that holds the discounted page of the Merchant's product.

 

3. A small snippet of code to be kept in the 'Thank You' page of the Merchant's website which should then update the coupon status (redeemed/expired) back in my system.

 

As far as variables of these coupons are concerned, I will manage that myself. But I just need the code or some good clear pointers to get this thing done.

 

Please ask for any further clarification in case you don't understand what I described above.

 

Any help would be greatly appreciated.

 

Thanks in advance.

 

Meenop

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.