Demo RevMax Plugin for OpenX

Questions about openx adserver plugin RevMax?

RevMax OpenX Plugin Features

Author Topic: PayPal Payment Failure gets a "500 Internal Error"  (Read 892 times)

Offline aeustudios

  • Newbie
  • *
  • Posts: 6
PayPal Payment Failure gets a "500 Internal Error"
« on: October 13, 2010, 01:24:05 AM »
I've been testing out my advertising form.  One thing I'm having a problem with is:

If a client cancels (or makes a mistake) on PayPal payment, when clicking link to go back to order form, my "/ox/plugins/payments/payment_failure.php" shows as a "500 Internal Error" message.

Any idea how to fix this?

 ;D

Offline btdsoft

  • Administrator
  • Full Member
  • *****
  • Posts: 124
  • btdsoft.com Independant OpenX Consultant
    • btdsoft.com
Re: PayPal Payment Failure gets a "500 Internal Error"
« Reply #1 on: October 13, 2010, 01:32:37 AM »
First edit permissions to correct the 500 error (usually the problem)
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

Permissions on a shared server are usually 644 for files and 755 for folders.

Then open openx/plugins/payments  and edit the  failure page to fit your needs.

Mike

Offline aeustudios

  • Newbie
  • *
  • Posts: 6
Re: PayPal Payment Failure gets a "500 Internal Error"
« Reply #2 on: October 13, 2010, 02:41:55 AM »
All my permissions are set correctly.  Both payment_falure.php and payment_success.php still show as "500 Internal Error" message.   Any other solutions?


Offline btdsoft

  • Administrator
  • Full Member
  • *****
  • Posts: 124
  • btdsoft.com Independant OpenX Consultant
    • btdsoft.com
Re: PayPal Payment Failure gets a "500 Internal Error"
« Reply #3 on: October 13, 2010, 02:45:52 AM »
I am not great at guessing.
Perhaps a ftp login and url to take a look ?

You can pm me here or use the contact link above.

Mike

Offline btdsoft

  • Administrator
  • Full Member
  • *****
  • Posts: 124
  • btdsoft.com Independant OpenX Consultant
    • btdsoft.com
Re: PayPal Payment Failure gets a "500 Internal Error"
« Reply #4 on: October 13, 2010, 02:52:39 AM »
Just to be clear on the issue for all.
Payment failure and success are simple unencoded web pages with no php scripting  or calls to other scripts to cause errors. This is payment_failure.php as included in download package.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Paypal Failure</title>
</head>
<body>
    <h1>Payment  Failure</h1>
    <p>We're sorry!</p>
    <p>Your account has not been created due to incomplete payment. Please try again later.</p>
</body>
</html>


Mike

Offline btdsoft

  • Administrator
  • Full Member
  • *****
  • Posts: 124
  • btdsoft.com Independant OpenX Consultant
    • btdsoft.com
Re: PayPal Payment Failure gets a "500 Internal Error"
« Reply #5 on: October 13, 2010, 04:36:13 AM »
Closing this thread.

Permissions were found to be incorrect.