Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Credit Class/Gift Vouchers/Discount Coupons 5.10


4756 replies to this topic

#4721 bhbilbao

  • Community Member
  • 291 posts
  • Real Name:BLACKHOLE
  • Gender:Male
  • Location:Spain

Posted 21 January 2010, 04:29

The problem was fixed.
I removed the old ot_coupon for the version in this contrib, and began to work.

One more question:
ref:
The only extra requirement is that you set the first 4 charachters to GIFT. So for example if you are creating a $10.00 Gift Voucher then you could set the product model to GIFT10.
How o where can i change this condition.

I want USER or CODE, not the GIFT

#4722 tomandmolly

  • Community Member
  • 2 posts
  • Real Name:Richard

Posted 31 January 2010, 22:19

Hi All,

I am having an issue with CCGV.

When I have it activated and install with onepagecheckout it seems to work fine and I get a popup box showing "Coupon has been applied" or " Coupon not Valid" etc etc
However when I used CCGV without the onepagechekout the info box doesnt popup and get the following message in by browser address bar

www.domain.com.au/store/checkout_payment.php?payment_error=ot_coupon&error=***+This+is+a+valid+coupon+code.+HOWEVER%3A+No+price+reduction+can+be+applied%2C+please+see+the+coupon+restrictions+that+were+sent+with+your+email+offer.+**
The discount doesnt seem to be applied as per the image below
[img]http://www.tomandmolly.com.au/1.gif[/img]

However if I press the redeem again I get the discount applied as per this image
[img]http://www.tomandmolly.com.au/2.gif[/img]

But get the follpowing message in the browser address bar
www.domain.com.au/store/checkout_payment.php?payment_error=ot_coupon&error=The+coupon+has+been+successfully+applied+for+%248.50+

Looking a the demo version Im assuming the error/success Message should appear in the red info box.

Thanks
Richard

Edited by tomandmolly, 31 January 2010, 22:20.


#4723 abbott75

  • Community Member
  • 64 posts
  • Real Name:Adam

Posted 02 May 2010, 13:43

Hi,
Is it possible to have customer's credit/gift vouchers expire after a set period of time? I'm using version 5.21.

Thanks!

#4724 adwin

  • Community Member
  • 1 posts
  • Real Name:Adwin

Posted 03 May 2010, 03:04

I installed the CCGV newst version (5.21)
All is working just fine, can redeem, can add, buy and pay BUT
When someone want to send the gift and click the Send Gift Voucher link in the basket I get an almost blank page with 4 fields (Recipients Name, E-mail, Amount nad message) and below that:
Error!

Unable to determine the page link!

What can be wrong??
It's on a test part of a website so you can see and login if you want to help:

http://www.alfablue.com/osc/index.php
login for members:
adwin@vankastel.com
9s5r8
After login click the link in the right colom in the basket:
http://www.alfablue.com/osc/gv_send.php
And you get the error

Please advice

#4725 bhbilbao

  • Community Member
  • 291 posts
  • Real Name:BLACKHOLE
  • Gender:Male
  • Location:Spain

Posted 19 May 2010, 20:15

View Posttaaroa, on 10 May 2008, 22:36, said:

Hello

Thanks a lot for your answer.

I don't know under IE6 but it works perfectly under Mozilla Firefox.

Thanks again.

Florent

I have a new problem with the Redeem button in checkout_payment.php

Ref:

Quote

You can redeem this coupon during checkout. Just enter the code in the box provided, and click on the redeem button.

I enter the code of the GiftVouncher and click on the button, but it makes nothing. It seems to be bloqued.
Can somebody where to change the code for that issue??

#4726 chemjul2005

  • Community Member
  • 68 posts
  • Real Name:real name

Posted 23 May 2010, 09:57

when someone buys a giftcertificate they get an english mail that their order is placed in queue. Question is where can I find the language files for that mail so I can translate it to dutch?

TIA

chem

#4727 FSS

  • Community Member
  • 48 posts
  • Real Name:Mark
  • Gender:Male

Posted 23 May 2010, 21:55

I placed this questions in another topic mistakenly. Sorry to those who will be monitoring but this is where it should be and so I will ask it here.
I have version 5.21 installed. How do i exempt specials from being available with a coupon?
tks
Mark

#4728 crazy_r

  • Community Member
  • 3 posts
  • Real Name:Rolfie
  • Gender:Male

Posted 06 June 2010, 12:39

Can somebody help me? I have installed the Full package from 29-aug-2009. This works perfectly.
I only want to create a vouchers for a 100% discount, to the total amount that the user must pay = $0.

This works, but I'm still need to select an payment. And if i select a payment that generated an error, because you can't pay 0.00.
I'm i something wrong?

I i create an voucher for 10% it works, you get the discount, and the payment for the other 90% works perfectly. But the 100% discount that does not works as I expected to work.

#4729 beanzy

  • Community Member
  • 126 posts
  • Real Name:Roy

Posted 14 June 2010, 17:54

Is anybody really supporting this mod?

First, the sql file did not install all the files and had to create them.

Installed CCGV latest version and upon checkout, I receive an error;
Fatal error: Cannot redeclare class paypal_standard in /home/content...../html/catalog/includes/modules/payment/paypal_standard.php on line 13

I have checked catalog/includes/modules/payment/paypal_standard.php and has not been changed. Is identical to original install.
I have also changed payment methods but get the same error message, just a different file name.

I believe there is some code error somewhere within this mod but cannot find it.


Also, on the checkout_payment.php page display, the columns are now extended and it drops column right down to the bottom and
not at the top as it is designed.

Anyone please.... I have no hair left....lol

Edited by beanzy, 14 June 2010, 17:55.


#4730 ricardodacosta

  • Community Member
  • 132 posts
  • Real Name:ricardo

Posted 27 July 2010, 15:11

Not sure if this is how this module is set up, but I added a product with a price of $1. I added a coupon for free shipping for that product. When I enter the coupon code, it doesn't give me free shipping, it gives me a discount for $1 which is the sub-total amount. If I change the price to $2 then it gives me discount for $2. This only happens when the price is less than $3. If I change the price to $3 then it works ok and it gives me the discount for the shipping amount.

Any suggestions?

Thanks

Ricardo

#4731 ricardodacosta

  • Community Member
  • 132 posts
  • Real Name:ricardo

Posted 28 July 2010, 16:44

My guess is that there is no support for this module anymore :(

#4732 Shadow-Lord

  • Community Member
  • 148 posts
  • Real Name:Shadow
  • Gender:Male

Posted 11 August 2010, 02:54

I have PayPal Express Checkout Version: 1.2, API Version: 60.0.

When I go to paypal the discount is not showing.

Has anyone got this addon working with the above version of paypal express.

#4733 minxymoggy

  • Community Member
  • 6 posts
  • Real Name:Misae
  • Gender:Female
  • Location:London

Posted 19 September 2010, 20:56

View Postbeanzy, on 14 June 2010, 17:54, said:

Is anybody really supporting this mod?

First, the sql file did not install all the files and had to create them.

Installed CCGV latest version and upon checkout, I receive an error;
Fatal error: Cannot redeclare class paypal_standard in /home/content...../html/catalog/includes/modules/payment/paypal_standard.php on line 13

I have checked catalog/includes/modules/payment/paypal_standard.php and has not been changed. Is identical to original install.
I have also changed payment methods but get the same error message, just a different file name.

I believe there is some code error somewhere within this mod but cannot find it.


Also, on the checkout_payment.php page display, the columns are now extended and it drops column right down to the bottom and
not at the top as it is designed.

Anyone please.... I have no hair left....lol

I'm not supporting this mod but I do have some sites with it working. A "cannot redeclare" error is when you call the same class twice. It's likely that you have a line something like

require(DIR_WS_CLASSES . 'payment.php');

twice in your php code on one of the final checkout pages. I can't remember without looking if it's payment.php that'll be the filename but if you call a file twice you're redeclaring the classes within it. Anyway, hope that gives you a big enough clue to let you get some hair back before the cold winter winds start... :rolleyes:

#4734 valerif

  • Community Sponsor
  • 199 posts
  • Real Name:valeri

Posted 14 October 2010, 23:04

View Postadwin, on 03 May 2010, 03:04, said:

I installed the CCGV newst version (5.21)
All is working just fine, can redeem, can add, buy and pay BUT
When someone want to send the gift and click the Send Gift Voucher link in the basket I get an almost blank page with 4 fields (Recipients Name, E-mail, Amount nad message) and below that:
Error!

Unable to determine the page link!

What can be wrong??
It's on a test part of a website so you can see and login if you want to help:

http://www.alfablue.com/osc/index.php
login for members:
adwin@vankastel.com
9s5r8
After login click the link in the right colom in the basket:
http://www.alfablue.com/osc/gv_send.php
And you get the error

Please advice
hello,
i have same problem. did you find a solution to it?
let me know please
thanks
valerif

#4735 valerif

  • Community Sponsor
  • 199 posts
  • Real Name:valeri

Posted 18 October 2010, 23:15

View Postchooch, on 25 February 2007, 21:03, said:

Thats because of the 'back' link in your gv send page (and alike)

If you arrive at the page straight from the URL without clicking a link in any other page to get there, then it doesn't know where you came from and therefore cannot add a 'back' link - that's all... nothing to worry about

Hellow,

I am getting the same message on the gv_send.php. I get it any time when enter the page via a link or direct. WOuld you have any suggestion on how to resolve this?

thanks
valerif

The message is:

Error!
Unable to determine the page link!

#4736 weaverlizzie

  • Community Member
  • 43 posts
  • Real Name:Julie Bunker
  • Gender:Female
  • Location:Payette, Idaho

Posted 26 October 2010, 06:34

This is probably a very easy problem, but I'm stuck. I'm receiving the following message:

Parse error: syntax error, unexpected T_STRING in /home/fabrih5/public_html/shop/includes/classes/payment.php on line 89

// Start - CREDIT CLASS Gift Voucher Contribution
// function javascript_validation() {
function javascript_validation($coversAll) {
//added the $coversAll to be able to pass whether or not the voucher will cover the whole
//price or not. If it does, then let checkout proceed when just it is passed.
$js = '';
if (is_array($this->modules)) {
if ($coversAll) {
$addThis='if (document.checkout_payment.cot_gv.checked) {
payment_value='cot_gv'; ( LINE 89 )
} else ';
} else {
$addThis='';
}

// End - CREDIT CLASS Gift Voucher Contribution

Any Help would be appreciated.

Julie

#4737 Zima

  • Community Member
  • 40 posts
  • Real Name:Zima

Posted 26 November 2010, 07:14

View Postweaverlizzie, on 26 October 2010, 06:34, said:

This is probably a very easy problem, but I'm stuck. I'm receiving the following message:

Parse error: syntax error, unexpected T_STRING in /home/fabrih5/public_html/shop/includes/classes/payment.php on line 89

// Start - CREDIT CLASS Gift Voucher Contribution
// function javascript_validation() {
function javascript_validation($coversAll) {
//added the $coversAll to be able to pass whether or not the voucher will cover the whole
//price or not. If it does, then let checkout proceed when just it is passed.
$js = '';
if (is_array($this->modules)) {
if ($coversAll) {
$addThis='if (document.checkout_payment.cot_gv.checked) {
payment_value='cot_gv'; ( LINE 89 )
} else ';
} else {
$addThis='';
}

// End - CREDIT CLASS Gift Voucher Contribution

Any Help would be appreciated.

Julie

Found this fix and seems to work:

// Start - CREDIT CLASS Gift Voucher Contribution
// function javascript_validation() {
function javascript_validation($coversAll) {
//added the $coversAll to be able to pass whether or not the voucher will cover the whole
//price or not. If it does, then let checkout proceed when just it is passed.
$js = '';
if (is_array($this->modules)) {
if ($coversAll) {
$addThis='if (document.checkout_payment.cot_gv.checked) {
payment_value='cot_gv';
} else ';
} else {
$addThis='';
}
// End - CREDIT CLASS Gift Voucher Contribution

REPLACE WITH THIS

// Start - CREDIT CLASS Gift Voucher Contribution
// function javascript_validation() {
function javascript_validation($coversAll) {
//added the $coversAll to be able to pass whether or not the voucher will cover the whole
//price or not. If it does, then let checkout proceed when just it is passed.
$js = '';
if (is_array($this->modules)) {
if ($coversAll) {
$addThis='if (document.checkout_payment.cot_gv.checked) {
payment_value=\'cot_gv\';
} else ';
} else {
$addThis='';
}
// End - CREDIT CLASS Gift Voucher Contribution

#4738 farbor

  • Community Member
  • 28 posts
  • Real Name:Lele

Posted 05 December 2010, 22:39

Hi guys,

I am having an issue with CCGV 5.21 and Paypal Standard.
Everything seems work fine till you get redirect to the Paypal website.
Once there you complete your transaction and then you click Return to Merchant Store.
Then the problem arise: I receive a blank page (in IE an HTTP 500 error).

If I check in admin I can see that the order and the payment come through correctly and as well if I typer in the web-browser mysite/checkoutconfirmation the process seems to complete.
I suspect that the problem is somewhere in checkoutprocess.php but I am not sure how to troubleshoot this.

Not sure if it is related but it if I check the shopping cart I still have all the products there and as well in the admin it looks like that none use any voucher at all.

Any idea?
What can I do to troubleshoot this?
Can someone have a quick scan of my code?I might do something really silly.

Thanks in advance for all your help.
Cheers
JK

#4739 farbor

  • Community Member
  • 28 posts
  • Real Name:Lele

Posted 06 December 2010, 14:56

After hours of troubleshooting it seems I have narrowed down the problem.
The code get stuck when calling the following function from paypal_standard.php to order_total.php:

$order_total_modules->update_credit_account($i);

I cannot see the reason why this function is not called correctly.

Any ideas?
Cheers
JK


View Postfarbor, on 05 December 2010, 22:39, said:

Hi guys,

I am having an issue with CCGV 5.21 and Paypal Standard.
Everything seems work fine till you get redirect to the Paypal website.
Once there you complete your transaction and then you click Return to Merchant Store.
Then the problem arise: I receive a blank page (in IE an HTTP 500 error).

If I check in admin I can see that the order and the payment come through correctly and as well if I typer in the web-browser mysite/checkoutconfirmation the process seems to complete.
I suspect that the problem is somewhere in checkoutprocess.php but I am not sure how to troubleshoot this.

Not sure if it is related but it if I check the shopping cart I still have all the products there and as well in the admin it looks like that none use any voucher at all.

Any idea?
What can I do to troubleshoot this?
Can someone have a quick scan of my code?I might do something really silly.

Thanks in advance for all your help.
Cheers
JK


#4740 farbor

  • Community Member
  • 28 posts
  • Real Name:Lele

Posted 08 December 2010, 23:43

And I think I have found the solution as well....it seems there was a global variable missing....

Within the function before_process()

function before_process() {
global $customer_id, $order, $order_total_modules, $order_totals, $sendto, $billto, $languages_id, $payment, $currencies, $cart, $cart_PayPal_Standard_ID;
global $$payment;

$order_total_modules was missing...I can't believe none noticed that.
Now the process complete succesfully and everything works perfectly.

I have only a small little problem when the voucher is inserted and it failed any of the check, instead of getting the error message I get an empty pink line....

I think I have narrowed down the problem but I still did not manage to solve it:

Checkout_payment.php call the following functions:

<?php
// Start - CREDIT CLASS Gift Voucher Contribution
echo $order_total_modules->credit_selection();
// End - CREDIT CLASS Gift Voucher Contribution ?>
<?php

order_total.php will call the same function in ot_coupon:

while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
if ($GLOBALS[$class]->enabled && $GLOBALS[$class]->credit_class) {
if ($selection_string =='') $selection_string = $GLOBALS[$class]->credit_selection();
if ( ($use_credit_string !='' ) || ($selection_string != '') ) {
$output_string .= '<tr colspan="4"><td colspan="4" width="100%">' . tep_draw_separator('pixel_trans.gif', '100%', '10') . '</td></tr>';
$output_string = ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" >' . "\n" .
' <td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') .'</td>' .
' <td class="main"><b>' . $GLOBALS[$class]->header . '</b></td>' . $use_credit_string;
$output_string .= '<td width="10">' . tep_draw_separator('pixel_trans.gif', '10', '1') . '</td>';
$output_string .= ' </tr>' . "\n";
$output_string .= $selection_string;

ot_coupon does all the checks to verify that the coupoon is correct and set the error if any of the check it fails:


function collect_posts() {
// All tep_redirect URL parameters modified for this function in v5.13 by Rigadin
global $HTTP_POST_VARS, $customer_id, $currencies, $cc_id;
if ($HTTP_POST_VARS['gv_redeem_code']) {

// get some info from the coupon table
$coupon_query=tep_db_query("select coupon_id, coupon_amount, coupon_type, coupon_minimum_order,uses_per_coupon, uses_per_user, restrict_to_products,restrict_to_categories from " . TABLE_COUPONS . " where coupon_code='".$HTTP_POST_VARS['gv_redeem_code']."' and coupon_active='Y'");
$coupon_result=tep_db_fetch_array($coupon_query);

if ($coupon_result['coupon_type'] != 'G') {

if (tep_db_num_rows($coupon_query)==0) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_NO_INVALID_REDEEM_COUPON), 'SSL'));
}

$date_query=tep_db_query("select coupon_start_date from " . TABLE_COUPONS . " where coupon_start_date <= now() and coupon_code='".$HTTP_POST_VARS['gv_redeem_code']."'");

if (tep_db_num_rows($date_query)==0) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_INVALID_STARTDATE_COUPON), 'SSL'));
}

$date_query=tep_db_query("select coupon_expire_date from " . TABLE_COUPONS . " where coupon_expire_date >= now() and coupon_code='".$HTTP_POST_VARS['gv_redeem_code']."'");

if (tep_db_num_rows($date_query)==0) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_INVALID_FINISDATE_COUPON), 'SSL'));
}

$coupon_count = tep_db_query("select coupon_id from " . TABLE_COUPON_REDEEM_TRACK . " where coupon_id = '" . $coupon_result['coupon_id']."'");
$coupon_count_customer = tep_db_query("select coupon_id from " . TABLE_COUPON_REDEEM_TRACK . " where coupon_id = '" . $coupon_result['coupon_id']."' and customer_id = '" . $customer_id . "'");

if (tep_db_num_rows($coupon_count)>=$coupon_result['uses_per_coupon'] && $coupon_result['uses_per_coupon'] > 0) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_INVALID_USES_COUPON . $coupon_result['uses_per_coupon'] . TIMES ), 'SSL'));
}

if (tep_db_num_rows($coupon_count_customer)>=$coupon_result['uses_per_user'] && $coupon_result['uses_per_user'] > 0) {
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_INVALID_USES_USER_COUPON . $coupon_result['uses_per_user'] . TIMES ), 'SSL'));
}

//**si** 09-11-05
/*
if ($coupon_result['coupon_type']=='S') {
$coupon_amount = $order->info['shipping_cost'];
} else {
$coupon_amount = $currencies->format($coupon_result['coupon_amount']) . ' ';
}
if ($coupon_result['coupon_type']=='P') $coupon_amount = $coupon_result['coupon_amount'] . '% ';
if ($coupon_result['coupon_minimum_order']>0) $coupon_amount .= 'on orders greater than ' . $coupon_result['coupon_minimum_order'];
if (!tep_session_is_registered('cc_id')) tep_session_register('cc_id'); //Fred - this was commented out before
$cc_id = $coupon_result['coupon_id']; //Fred ADDED, set the global and session variable
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_REDEEMED_AMOUNT), 'SSL')); // Added in v5.13a by Rigadin
*/
global $order,$ot_coupon,$currency;
// BEGIN >>> CCVG 5.15 - Custom Modification - fix Coupon code redemption error
// Moved code up a few lines
if (!tep_session_is_registered('cc_id')) tep_session_register('cc_id');
$cc_id = $coupon_result['coupon_id'];
// END <<< CCVG 5.15 - Custom Modification - fix Coupon code redemption error

$coupon_amount= tep_round($ot_coupon->pre_confirmation_check($order->info['subtotal']), $currencies->currencies[$currency]['decimal_places']); // $cc_id
/* you will need to uncomment this if your tax order total module is AFTER shipping eg you have all of your tax, including tax from shipping module, in your tax total.
if ($coupon_result['coupon_type']=='S') {
//if not zero rated add vat to shipping
$coupon_amount = tep_add_tax($coupon_amount, '17.5');
}
*/
$coupon_amount_out = $currencies->format($coupon_amount) . ' ';
if ($coupon_result['coupon_minimum_order']>0) $coupon_amount_out .= 'on orders greater than ' . $currencies->format($coupon_result['coupon_minimum_order']);

if (!tep_session_is_registered('cc_id')) tep_session_register('cc_id');
$cc_id = $coupon_result['coupon_id'];

if ( strlen($cc_id)>0 && $coupon_amount==0 ) {
// ccgv coupon restrictions error fix
// $err_msg = ERROR_REDEEMED_AMOUNT.ERROR_REDEEMED_AMOUNT_ZERO;
$err_msg = ERROR_REDEEMED_AMOUNT_ZERO;
} else {
$err_msg = ERROR_REDEEMED_AMOUNT.$coupon_amount_out;
}
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode($err_msg), 'SSL'));
//**si** 09-11-05 end

// $_SESSION['cc_id'] = $coupon_result['coupon_id']; //Fred commented out, do not use $_SESSION[] due to backward comp. Reference the global var instead.
} // ENDIF valid coupon code
} // ENDIF code entered
// v5.13a If no code entered and coupon redeem button pressed, give an alarm
if ($HTTP_POST_VARS['submit_redeem_coupon_x']) tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error='.$this->code.'&error=' . urlencode(ERROR_NO_REDEEM_CODE), 'SSL'));
}

I suspect that in the code above the problem arises. I think the payment_error->&error variable is not populated correctly
As you can see all the if redirect back to checkout_payment.php that will print the error on the screen:

<?php
if (isset($HTTP_GET_VARS['payment_error']) && is_object(${$HTTP_GET_VARS['payment_error']}) && ($error = ${$HTTP_GET_VARS['payment_error']}->get_error())) {
?>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b><?php echo tep_output_string_protected($error['title']); ?></b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBoxNotice">
<tr class="infoBoxNoticeContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
<td class="main" width="100%" valign="top"><?php echo tep_output_string_protected($error['error']); ?></td>

</tr>
</table></td>
</tr>
</table></td>
</tr>
<?php
}
?>

You can see from there that to retrieve the error it calls the function get_error() once more from ot_coupon.php:

function get_error() {
global $HTTP_GET_VARS;

$error = array('title' => MODULE_ORDER_TOTAL_COUPON_TEXT_ERROR,
'error' => stripslashes(urldecode($HTTP_GET_VARS['$error'])));

return $error;
}

Here $error is populated with a title and and error.

$error['title'] is printed correctly on the screen $error ['error'] is not.

If instead of using stripslashes(urldecode($HTTP_GET_VARS['$error']))); I manually add some text then even the $error['error'] is printed on the screen. So my suspect is that the error either occurred when:

1) error is encoded : 'payment_error='.$this->code.'&error=' . urlencode(ERROR_REDEEMED_AMOUNT), 'SSL'));

or

2) error is decoded: 'error' => stripslashes(urldecode($HTTP_GET_VARS['$error'])));

I so in the forum someone had the same problem. Did anyone manage to resolve it?
Can someone help?

Any feedback is really appreciated.
Cheers
JK