osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Problem with Gift Voucher/Coupon Email Sent to Customer

This is a discussion on Problem with Gift Voucher/Coupon Email Sent to Customer within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; I am having a problem with the email link that is sent to a customer. When you click the link, ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-13-2004, 07:05 AM
New Member
 
Join Date: Nov 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
stewj1
Default Problem with Gift Voucher/Coupon Email Sent to Customer

I am having a problem with the email link that is sent to a customer. When you click the link, it just hangs there and eventually times out. I see it is trying to goto gv_redeem.php

https://host246.ipowerweb.com/~xxxxx...p/gv_no,dd8818

Please let me know if anyone else is having the same problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 12-13-2004, 12:59 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 343
Thanks: 0
Thanked 3 Times in 3 Posts
Rep Power: 7
red_fraggle is on a distinguished road
Default

in your URL you have "/~xxxxxx" is this really your username at ipowerweb ? if not it should say /~yourusername where "yourusername" is your account name with ipowerweb.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-14-2004, 06:23 AM
New Member
 
Join Date: Nov 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
stewj1
Default

No, I x'd out the name, so the link couldn't be used, it had a $50 coupon attached. Here is an updated one:

The Gift Voucher is worth $0.00

To redeem this Gift Voucher, please click on the link below. Please
also write down the redemption code which is 26c434 in case you have any
problems.

https://host246.ipowerweb.com/~categ...p/gv_no,26c434

or visit https://host246.ipowerweb.com/~categ...ce/os/catalog/
and enter the code during the checkout process

Please let me know if you see anything wrong.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-14-2004, 07:56 AM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 343
Thanks: 0
Thanked 3 Times in 3 Posts
Rep Power: 7
red_fraggle is on a distinguished road
Default

Ok in your URL you have a "/" between "/gv_redeem.php" and "gv_no,26c434", you also have a "," and not a "=" between the "gv_no" and the actual voucher number.

This should actually look like this
Code:
http://max.hyperactivehosting.com/gv_redeem.php?gv_no=70e677
Notice mine has a question mark, not a "/". PHP uses the "?" to let the script know that data is coming in and needs to be parsed by the script. This is not happening on your site. Why it is doing this i am at a loss to say.

Did you start out with MAX or is this a 2.2 store that has had the module for gift vouchers added later?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-14-2004, 12:07 PM
New Member
 
Join Date: Nov 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
stewj1
Default

Thanks that did it! I found the problem in the admin/gv_mail.php file:

$message .= TEXT_WHICH_IS . $id1 . TEXT_IN_CASE . "\n\n";
if (SEARCH_ENGINE_FRIENDLY_URLS == 'true') {
$message .= HTTP_SERVER . DIR_WS_CATALOG . 'gv_redeem.php' . '/gv_no,'.$id1 . "\n\n";
} else {
$message .= HTTP_SERVER . DIR_WS_CATALOG . 'gv_redeem.php' . '?gv_no='.$id1 . "\n\n";
}
$message .= TEXT_OR_VISIT . HTTP_SERVER . DIR_WS_CATALOG . TEXT_ENTER_CODE;

It's a base install of Max, but looks like there might be a problem with the "Friendly URLS" part of the code. Thanks again...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-14-2004, 01:18 PM
New Member
 
Join Date: Nov 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
stewj1
Default

red_fraggle,

Thanks again for the help. But I'm having another problem. The Voucher Balance does not get deducted after using a coupon. I can checkout, but when looking at the voucher balance, it stays the same, so it can be used again. Have you seen this problem? Please let me know.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 12-14-2004, 01:57 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 343
Thanks: 0
Thanked 3 Times in 3 Posts
Rep Power: 7
red_fraggle is on a distinguished road
Default

Actully I have made several installations of MAX 1.7 over the last week and sadly i can say that this is not an isolated incident. I have one client who when they purchase a 25 certificate, actualy gives them a $75 credit, others who are having same problem as you.

I am sure it's something to do with us being idiots and having to work with a newer version of the voucher mod. If i figure it out ill inform you, as it stands now, our clients are having us temporarily disable this module in MAX 1.7


Any ideas Michael ????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-14-2004, 02:37 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,705
Thanks: 139
Thanked 606 Times in 519 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

I am taking a look now to see if I can reproduce it.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-14-2004, 11:12 PM
New Member
 
Join Date: Nov 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
stewj1
Default

I found a topic on the OSCommerce site:

http://forums.oscommerce.com/index.p...52161&st=0

that talks about a few of these problems, but I tried to update the OSCMax files with their recommendations, and it still does not work. I now have 2 problems.

1. Voucher Balance does not decrease when applying it to a purchase, so it can be used over again and again.

2. When making a purchase using a Gift Voucher greater than purchase (so purchase price is $0.00) and choosing Authorize.net as payment choice (forces you to use payment choice) It comes back with a credit card error, due to Authorize.net not being able to use the $0.00.

Problems similar to these are mentioned in the post, but I think what is needed is an update to the current release of the Coupon/Voucher Contribution.

http://www.oscommerce.com/community/.../search,coupon

I would try to add myself, but with the use of Templates, this gets a little hairy. Any help with these 2 problems would be greatly appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-15-2004, 06:28 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,705
Thanks: 139
Thanked 606 Times in 519 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Ok,

I have run a few tests on a demo shop (stock 1.7 install) and I cannot reproduce this.

Here is what I did:
  • I manually created a gift voucher.
  • Then purchased it through the shop.
  • Then as an admin, I validated the voucher, which sends an email to the customer that the voucher is valid.
  • Next, I returned to the catalog as the customer, and added a product to my cart. The shopping cart box shows the item, and my voucher balance.
  • Next, I go through checkout, and choose payment method and click the 'Use Gift Voucher Balance' checkbox.
  • On the next page, I see the order total, including the gift voucher balance subtracted from the order total.
  • I complete the checkout. The order total is correct.
  • I return to the catalog as a customer, and add a product to the cart. There is no Gift voucher balance so nothing shows up in the shopping cart.
This was tested on a stock osCMax 1.7 and it works correctly.

Remember, vouchers and coupons are 2 separate things. If someone uses a coupon code, it will not affect their gift voucher balance. Gift vouchers are totally separate from the coupon system when it comes to checking out.
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Gift Voucher & Coupon auntie22 osCMax v1.7 Discussion 0 03-12-2006 05:55 PM
Checkout Problem - Gift Voucher Coupon Zero 0 no balance kenlyle osCMax v1.7 Discussion 0 11-07-2005 07:53 AM
Gift Voucher: Customer Email problems. Please help! malcol27 osCMax v1.7 Discussion 9 12-28-2004 07:00 AM
Welcome email and $10 gift voucher? bsa osCMax v1.7 Discussion 13 07-23-2004 06:17 AM
discount coupon, gift voucher and low order fees whitezombie osCMax v1.7 Discussion 2 06-15-2004 02:41 PM


All times are GMT -8. The time now is 11:58 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design