Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
jjmusicpro
Involved
Involved



Joined: Jul 12, 2005
Posts: 283

PostPosted: Sun May 14, 2006 12:09 pm Reply with quote

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 
View user's profile Send private message Visit poster's website
viper155
Regular
Regular



Joined: Feb 18, 2006
Posts: 99

PostPosted: Sun May 14, 2006 3:11 pm Reply with quote

I think he removed the forums bc he doesnt want new buyers to see that he doesnt support his own product anymore. Sad
 
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sun May 14, 2006 3:45 pm Reply with quote

PM Hiwalker he will probably have it - if not I can check my archives when I get home in the morning.
 
View user's profile Send private message Send e-mail
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sun May 14, 2006 6:29 pm Reply with quote

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");
 
View user's profile Send private message
jjmusicpro







PostPosted: Sun May 14, 2006 10:02 pm Reply with quote

Hi i dont have a file called functions-premium.php in the e-soultions folder.
 
jjmusicpro







PostPosted: Sun May 14, 2006 10:08 pm Reply with quote

Nevermind found it Smile
 
hitwalker







PostPosted: Mon May 15, 2006 3:42 am Reply with quote

so it was there huh....
yeah files have a way of disapearing and showing again...
 
jjmusicpro







PostPosted: Mon May 15, 2006 10:41 pm Reply with quote

I did your update above, and it still dosent work.

I remember it was a just a 1 line fix.
 
hitwalker







PostPosted: Tue May 16, 2006 12:58 pm Reply with quote

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







PostPosted: Sat May 27, 2006 8:44 pm Reply with quote

It still dosent work Sad
 
jjmusicpro







PostPosted: Sun Jun 04, 2006 10:54 am Reply with quote

Anyone?
 
Guardian2003







PostPosted: Sun Jun 04, 2006 11:11 am Reply with quote

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







PostPosted: Mon Jun 05, 2006 6:37 am Reply with quote

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







PostPosted: Mon Jun 05, 2006 10:05 pm Reply with quote

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







PostPosted: Mon Jun 05, 2006 10:11 pm Reply with quote

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







PostPosted: Tue Jun 06, 2006 3:38 am Reply with quote

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'.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©