Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi everyone,

 

I installed the "PayPal_Shopping_Cart_IPN_v2.6a" last night and I'm having a problem with the "Launch Test Page" link in the PayPal edit on the admin screen (Modules > Payment).

 

When I click the link, I get "Page Not Found". The url it's trying to go to is:

 

https://st15.startlogic.com/~myuser/ecommer...inID=1234567890

 

I've double checked that I made the correct edits according to the installation instructions, and that I have removed all tab characters, etc. In the admin/includes/filenames.php file I have this:

 

//begin PayPal_Shopping_Cart_IPN

define('FILENAME_PAYPAL', 'paypal.php');

//end PayPal_Shopping_Cart_IPN

 

Can anyone point me in the right direction as to what could be wrong?

 

Thanks in advance, -Chris.

Posted

Hi Chris,

 

I think this is because the payment module was installed prior to the admin/filename edit being performed, hence 'FILENAME_PAYPAL' got stuck/inserted into the the database before being translated.

 

Uninstall/remove the module via admin->modules->payment and then reinstall it again, it should then be ok.

 

Regards,

"Any fool can know. The point is to understand." -- Albert Einstein

Posted

Thanks Greg! That worked. You are right, I had forgotten to add that line ('FILENAME_PAYPAL') initially and added it after I installed PayPal.

 

BTW, this is a great enhancement (contribution). Good job!

Posted

I can get to the Ipn Test Panel now, but when I click the "Test IPN" button I'm getting another "Page Not Found" error. The url is:

 

https://st15.startlogic.com/catalog/ipn.php

 

I've checked that the ipn.php file is in my Catalog folder, but the folder isn't located where the url above is pointing. Instead it's in:

 

https://st15.startlogic.com/myuser/ecommerc...catalog/ipn.php

 

But even if I alter the code to point there, I still get the File not Found error. I'm messing with this line:

 

<form name="ipn" method="POST" action="<?php echo DIR_WS_CATALOG . 'ipn.php'; ?>">

 

I've tried changing "DIR_WS_CATALOG" to "DIR_FS_CATALOG", etc.

 

Any ideas? Thanks!

Posted

Bump. :) Anybody know what could be wrong?

 

The ipn.php is there in the correct folder but is invisible or something. I've checked the rights and increased to 777 temporarily but that didn't help.

 

Any ideas would be greaaatly appreciated! Thanks, -Chris.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...