Author |
Message |
jjmusicpro
Involved


Joined: Jul 12, 2005
Posts: 283
|
Posted:
Sun May 14, 2006 12:09 pm |
|
About 2-3 months back, there was a problem with e-royal soultions payments.
I was able to go on there website and get the info to fix it, i belive it was 2-3 lines i added to a file.
I had to reupload my site and i erased it on accided, and now when i go to royalsoultions website, i cant get intot he forums, or they are not there anymore.
Does anyone have the code that i needed to updated to fix that problem?
Thanks |
_________________ - JJMUSICPRO
Myspacetoolbelt.com || RankBook.com || GamerBomb.com || MyspaceJar.com |
|
|
 |
viper155
Regular


Joined: Feb 18, 2006
Posts: 99
|
Posted:
Sun May 14, 2006 3:11 pm |
|
I think he removed the forums bc he doesnt want new buyers to see that he doesnt support his own product anymore.  |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sun May 14, 2006 3:45 pm |
|
PM Hiwalker he will probably have it - if not I can check my archives when I get home in the morning. |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Sun May 14, 2006 6:29 pm |
|
okay here it goes....
open up page functions-premium.php (thats in your_account/E-Solution)
Look for : // form
Thats not where its edited but so its easier to recognise....
The edited suff is :
//new added code 1 feb 2006
So all you have to do is make sure yours looks the same as here below...
// form
echo $formactionheader;
echo $addcheckbox.'<br>';
echo '<center>'.$showmydisclaimer.'</center><br>';
echo "<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">\n"
."<input type=\"hidden\" name=\"redirect_cmd\" value=\"_xclick\">\n"
."<input type=\"hidden\" name=\"business\" value=\"".$subprice['paypalemail']."\">\n"
."<input type=\"hidden\" name=\"item_name\" value=\"".$subprice['item_name']."\">\n"
."<input type=\"hidden\" name=\"item_number\" value=\"".$lid."\">\n"
."<input type=\"hidden\" name=\"return\" value=\"".$subprice['thankyou']."\">\n"
."<input type=\"hidden\" name=\"amount\" value=\"".number_format($subprice['coolprice'],2)."\">\n";
if ($subprice['chuckles']==1)
{
echo "<input type=\"hidden\" name=\"notify_url\" value=\"".$subprice['url']."\">\n";
}elseif($subprice['chuckles']==0){
echo "<input type=\"hidden\" name=\"notify_url\" value=\"".$subprice['defaulturl']."\">\n";
}else{
echo "<input type=\"hidden\" name=\"notify_url\" value=\"".$subprice['defaulturl']."\">\n";
}
echo"<input type=\"hidden\" name=\"custom\" value=\"".$subprice['buyersid']."\">\n"
."<input type=\"hidden\" name=\"on0\" value=\"".$subprice['recurringb']."\">\n"
."<input type=\"hidden\" name=\"on1\" value=\"".$subprice['recurringb']."\">\n";
//new added code 1 feb 2006
echo "<input type=\"hidden\" name=\"os0\" value=\"".$subprice['recurringb']."\">\n"
."<input type=\"hidden\" name=\"os1\" value=\"".$subprice['recurringb']."\">\n";
//end
echo "<input type=\"hidden\" name=\"cancel_return\" value=\"".$subprice['cancelyou']."\">\n"
."<input type=\"hidden\" name=\"currency_code\" value=\"".$subprice['currency']."\">\n";
echo "<center><input type=\"image\" src=\"modules/E-Solution/images/continueBig.gif\" border=\"0\" name=\"submit\" alt=\"Subscribe now for ". $subprice['item_name']."\"><br>\n";
echo "</form></center>";
echo "<center><a href=\"javascript:history.go(-1)\"><img src=\"modules/E-Solution/images/GoBackBig.gif\" border=0></a></center>\n";
CloseTable();
include("footer.php"); |
|
|
|
 |
jjmusicpro

|
Posted:
Sun May 14, 2006 10:02 pm |
|
Hi i dont have a file called functions-premium.php in the e-soultions folder. |
|
|
|
 |
jjmusicpro

|
Posted:
Sun May 14, 2006 10:08 pm |
|
Nevermind found it  |
|
|
|
 |
hitwalker

|
Posted:
Mon May 15, 2006 3:42 am |
|
so it was there huh....
yeah files have a way of disapearing and showing again... |
|
|
|
 |
jjmusicpro

|
Posted:
Mon May 15, 2006 10:41 pm |
|
I did your update above, and it still dosent work.
I remember it was a just a 1 line fix. |
|
|
|
 |
hitwalker

|
Posted:
Tue May 16, 2006 12:58 pm |
|
yes this line..
//new added code 1 feb 2006
echo "<input type=\"hidden\" name=\"os0\" value=\"".$subprice['recurringb']."\">\n"
."<input type=\"hidden\" name=\"os1\" value=\"".$subprice['recurringb']."\">\n"; |
|
|
|
 |
jjmusicpro

|
Posted:
Sat May 27, 2006 8:44 pm |
|
It still dosent work  |
|
|
|
 |
jjmusicpro

|
Posted:
Sun Jun 04, 2006 10:54 am |
|
|
|
 |
Guardian2003

|
Posted:
Sun Jun 04, 2006 11:11 am |
|
Don't forget that you have to use your primary paypal email address and that trying to pay yourself will always fail.
Did anything get posted to the IPN log file? |
|
|
|
 |
hitwalker

|
Posted:
Mon Jun 05, 2006 6:37 am |
|
im sure you messed up somewhere jj.
if you have,or had a normal working version then it doesnt suddenly stop,and with the edits provided all should be ok...
a simple thing that often works is to delete your log.txt (of sales) and upload a new one, chmod it to 777.
and make sure your debug sh.t is turned off. |
|
|
|
 |
jjmusicpro

|
Posted:
Mon Jun 05, 2006 10:05 pm |
|
Well i had to reupload my entire site, so i reuploaded the old file over the one that was working.
That is why i needed the fix again.
Where do i locate the IPN log file again Guardian2003? |
|
|
|
 |
jjmusicpro

|
Posted:
Mon Jun 05, 2006 10:11 pm |
|
Guardian2003 i was able to find my IPN log however, the last transaction was from Jan 27th, and i know thats wrong since i keep getting people signing up everyday...
here is what my
function-premium file looks like (well part of it)
// form
echo $formactionheader;
echo $addcheckbox.'<br>';
echo '<center>'.$showmydisclaimer.'</center><br>';
echo "<input type=\"hidden\" name=\"cmd\" value=\"_xclick\">\n"
."<input type=\"hidden\" name=\"redirect_cmd\" value=\"_xclick\">\n"
."<input type=\"hidden\" name=\"business\" value=\"".$subprice['paypalemail']."\">\n"
."<input type=\"hidden\" name=\"item_name\" value=\"".$subprice['item_name']."\">\n"
."<input type=\"hidden\" name=\"item_number\" value=\"".$lid."\">\n"
."<input type=\"hidden\" name=\"return\" value=\"".$subprice['thankyou']."\">\n"
."<input type=\"hidden\" name=\"amount\" value=\"".number_format($subprice['coolprice'],2)."\">\n";
if ($subprice['chuckles']==1)
{
echo "<input type=\"hidden\" name=\"notify_url\" value=\"".$subprice['url']."\">\n";
}elseif($subprice['chuckles']==0){
echo "<input type=\"hidden\" name=\"notify_url\" value=\"".$subprice['defaulturl']."\">\n";
}else{
echo "<input type=\"hidden\" name=\"notify_url\" value=\"".$subprice['defaulturl']."\">\n";
}
echo"<input type=\"hidden\" name=\"custom\" value=\"".$subprice['buyersid']."\">\n"
."<input type=\"hidden\" name=\"on0\" value=\"".$subprice['recurringb']."\">\n"
."<input type=\"hidden\" name=\"on1\" value=\"".$subprice['recurringb']."\">\n";
//new added code 1 feb 2006
echo "<input type=\"hidden\" name=\"os0\" value=\"".$subprice['recurringb']."\">\n"
."<input type=\"hidden\" name=\"os1\" value=\"".$subprice['recurringb']."\">\n";
echo "<input type=\"hidden\" name=\"cancel_return\" value=\"".$subprice['cancelyou']."\">\n"
."<input type=\"hidden\" name=\"currency_code\" value=\"".$subprice['currency']."\">\n";
echo "<center><input type=\"image\" src=\"modules/E-Solution/images/continueBig.gif\" border=\"0\" name=\"submit\" alt=\"Subscribe now for ". $subprice['item_name']."\"><br>\n";
echo "</form></center>";
echo "<center><a href=\"javascript:history.go(-1)\"><img src=\"modules/E-Solution/images/GoBackBig.gif\" border=0></a></center>\n";
CloseTable();
include("footer.php");
}
} |
|
|
|
 |
Guardian2003

|
Posted:
Tue Jun 06, 2006 3:38 am |
|
The IPM log file could be in one of several places - check you main configuration as the path you used should in there (do not forget the file should be writable).
You might always want to check the e-solution is actually turned on.
If you got to configuration -> Membership Setings, it will say 'ENABLED' at the top but due to a bug that was never fixed, if you alter any settings there and save it, it reverts back to DISABLED unless you specifically alter the drop down box state.
If you look at the screen you can see that the drop down simply says 'Select' which by default has a value of 'off'. |
|
|
|
 |
|