Community Support Forums — WordPress® ( Users Helping Users ) — 2011-06-13T23:45:59-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6232 2011-06-13T23:45:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=20655#p20655 <![CDATA[Re: Bug in Coupon / Buy Now!]]> @TODO: Bug with sp="1" and Coupon Code term descriptions.
Bug found in /s2member-pro/classes/gateways/authnet/authnet-utilities.inc.php

Done. This bug was fixed in the official release of s2Member 110606+.

Statistics: Posted by Jason Caldwell — June 13th, 2011, 11:45 pm


]]>
2011-05-06T22:25:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=14292#p14292 <![CDATA[Re: Bug in Coupon / Buy Now!]]> Thanks for your patience.

I'm attaching two files that can be used to patch existing installations of s2Member Pro v1.5.8. These two patch files will correct the bug in Coupon Code descriptions returned for Specific Post/Page "Buy Now" transactions. The next release of s2Member Pro will include these fixes, but you can use these patch files to correct this bug immediately if you prefer. Thanks to everyone for reporting this important issue.

PayPal Pro Forms.
Patch #1 ( unzip, then upload via FTP, and let it overwrite your existing file )
/s2member-pro/includes/classes/gateways/paypal/paypal-utilities.inc.php
paypal-utilities.inc.php.zip

Authorize.Net Pro Forms.
Patch #2 ( unzip, then upload via FTP, and let it overwrite your existing file )
/s2member-pro/includes/classes/gateways/authnet/authnet-utilities.inc.php
authnet-utilities.inc.php.zip

Statistics: Posted by Jason Caldwell — May 6th, 2011, 10:25 pm


]]>
2011-05-05T15:28:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=14200#p14200 <![CDATA[Re: Bug in Coupon / Buy Now!]]> Thanks for the follow-up.
We're working as quickly as possible on the next release.

Statistics: Posted by Jason Caldwell — May 5th, 2011, 3:28 pm


]]>
2011-05-05T14:25:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=14194#p14194 <![CDATA[Re: Bug in Coupon / Buy Now!]]>

CHANGED Line 699 (added 'chris'' directive):
$coupon["directive"] = (preg_match ("/^(ta-only|ra-only|all|chris)$/", $_coupon[3])) ? $_coupon[3] : "all";

ADDED directive command:
else if ($coupon["directive"] === "chris" && !$attr["tp"])
{
$ta = number_format ($attr["ta"] - $coupon["flat-rate"], "2", ".", "");
$ta = ($ta >= 0.00) ? $ta : "0.00";
/**/
$ra = number_format ($attr["ra"] - $coupon["flat-rate"], "2", ".", "");
$ra = ($ra >= 0.01) ? $ra : "0.01";
/**/
$desc = 'COUPON ' . $cs . number_format ($coupon["flat-rate"], 2, ".", "") . ' off. ( Now: ' . $cs . c_ws_plugin__s2member_utils_time::amount_period_term ($ra, $attr["rp"] . " " . $attr["rt"], $attr["rr"]) . $tx . ' )';
$response = '<div>Coupon: <strong>' . $cs . number_format ($coupon["flat-rate"], 2, ".", "") . ' off</strong>. ( Now: <strong>' . $cs . $ra . ' One Time Charge </strong> )</div>';
}
---

Now shows ( Now: $100.00 One Time Charge)

Statistics: Posted by nobrain — May 5th, 2011, 2:25 pm


]]>
2011-05-05T13:40:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=14191#p14191 <![CDATA[Re: Bug in Coupon / Buy Now!]]>
I might also have to pay fix the bug myself right now but I think that shouldn't be my expense and I also then would be off-set with the release tree. I am not trying to be a jerk but if you understand this bug you understand why it is killing sales.

Statistics: Posted by nobrain — May 5th, 2011, 1:40 pm


]]>
2011-04-29T17:19:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=13816#p13816 <![CDATA[Re: Bug in Coupon / Buy Now!]]> Thanks for reporting this important issue.
~ and thanks for bringing this to my attention Cristián.

Yes, definitely a bug. Thank you.
I'm having this fixed in the next release.
If possible, I'll update this thread with a patch file asap.

@TODO: Bug with sp="1" and Coupon Code term descriptions.
Bug found in /s2member-pro/classes/gateways/authnet/authnet-utilities.inc.php

Done. This bug was fixed in the official release of s2Member 110606+.

Statistics: Posted by Jason Caldwell — April 29th, 2011, 5:19 pm


]]>
2011-04-28T13:18:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=13690#p13690 <![CDATA[Re: Bug in Coupon / Buy Now!]]>
I sent Jason (the Lead Developer) an email about it and he should be getting back to you as soon as he sees it.

Thank you for finding and reporting it!

Statistics: Posted by Cristián Lávaque — April 28th, 2011, 1:18 pm


]]>
2011-04-28T13:03:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=13685#p13685 <![CDATA[Re: Bug in Coupon / Buy Now!]]>
Coupon is:
SALE300OFF|300.00

Statistics: Posted by nobrain — April 28th, 2011, 1:03 pm


]]>
2011-04-28T12:48:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=13681#p13681 <![CDATA[Re: Bug in Coupon / Buy Now!]]>
Could you please share the shortcode you used for the form and the definition for your coupon? I'll try to reproduce this on my end.

Thanks!

Statistics: Posted by Cristián Lávaque — April 28th, 2011, 12:48 pm


]]>
2011-04-28T10:39:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6232&p=13667#p13667 <![CDATA[Bug in Coupon / Buy Now!]]>
I know I can edit what it says (language) but then it appears it would say the same for my monthly subscribers.

I am missing something or when can this be fixed?

Statistics: Posted by nobrain — April 28th, 2011, 10:39 am


]]>