Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Redirect after payment fail

Redirect after payment fail 11 years 6 months ago #20732

  • grosman
  • grosman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
After completing a paypal payment, redirection back to the site causes a white screen with null(bool) to appear.

I replaced the success.php file with an older version and am able to return to the website with the following appearing on the page: Error loading component: com_user, 1

All other features work fine, user receives email, etc.

I'm not a coder so any help with this issue appreciated.

Please Log in or Create an account to join the conversation.

Redirect after payment fail 11 years 6 months ago #20733

  • grosman
  • grosman's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Update: I replaced success.php supplied in the 1.7/2.5 folder with that supplied in the Joomla 3.0 version folder and all appears to work fine now.

There appears to be an error with the file version supplied in the 1.7/2.5 folder but I'll have to leave that to the code monkeys to work out whats going on.

Please Log in or Create an account to join the conversation.

Redirect after payment fail 11 years 6 months ago #20736

  • Dazzler24
  • Dazzler24's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 58
  • Karma: 1
  • Thank you received: 4
Hi grosman,
Thanks! You've solved a mystery for me and I know of a couple of others as well!

If you're interested, here are the lines of code that I changed to get the original file working (I just did a straight comparison of the files to discover this). Lines 84 to 90.
/*if($_REQUEST['task']=="notify"){ 
   $mailtxt = var_export($_REQUEST,true);
   
  var_dump( mail('[email protected]','debug moneris',$mailtxt));
   $_REQUEST['task'] = "notification" ;
}
*/
Cheers. :D

Please Log in or Create an account to join the conversation.

Redirect after payment fail 11 years 5 months ago #20760

  • cpaschen
  • cpaschen's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 1
Can anyone provide a location for this 'success.php' file? (in the installed extension)

Or must it be changed in the installable package and then re-install the entire system?

Please Log in or Create an account to join the conversation.

Redirect after payment fail 11 years 5 months ago #20762

  • Dazzler24
  • Dazzler24's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 58
  • Karma: 1
  • Thank you received: 4
Hi cpashen,

The file that you need to modify or easier yet, just change for the one in the V3 package is found in the (....components/com_dtregister) folder.

You will need to be able to access the root directory of your site of course to be able to get to it. You could use cPanel or an FTP program like filezilla for example.

Alternatively, you could drill down into the zipped install file to make the change there before installing it in the usual manner if you so choose. Just remember that either way you do it it will be overwritten the next time you do an update. Unless it's been fixed in the meantime. :lol:
Hope this helps.

Please Log in or Create an account to join the conversation.

Redirect after payment fail 11 years 5 months ago #20765

  • cpaschen
  • cpaschen's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 23
  • Thank you received: 1
THANKS for posting that. I was about to dig into linux command line to do a search (which I hate). You saved me some time and much frustration.

And I'm SURE that DTH will update this before the next release (or maybe I should just upgrade my sites to J3.0 :D

Thanks again.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.232 seconds