Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal IPN + Paypal Bug


skeedo

Recommended Posts

When you switch to a new website and email address using Paypal IPN, I was told this confuses Paypal because they are still using your old url/ email address and will result in Payment being sent but no order emails.

 

How can I fix this?

Link to comment
Share on other sites

  • 2 weeks later...

login to you paypal account, then go to:

 

profiles :arrow: Instant Payment Notification Preferences

 

Make sure IPN is turned on and set the callback url to paypal_notify.php

 

Thanks

Matt

Link to comment
Share on other sites

I presume you must have multiple paypals accounts.

 

You could contact paypal and see whether it is possible to send the callback url along with the total for example.

 

-Matt

Link to comment
Share on other sites

If you just want all of the boxes in the left column, open up column left, delete it all and replace it with this:

 

<?php

/*

 $Id: column_left.php,v 1.14 2003/02/10 22:30:50 hpdl Exp $



 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2003 osCommerce



 Released under the GNU General Public License

*/



 if ( (USE_CACHE == 'true') && !defined('SID')) {

   echo tep_cache_categories_box();

 } else {

   include(DIR_WS_BOXES . 'categories.php');

 }



 if ( (USE_CACHE == 'true') && !defined('SID')) {

   echo tep_cache_manufacturers_box();

 } else {

   include(DIR_WS_BOXES . 'manufacturers.php');

 }



 require(DIR_WS_BOXES . 'whats_new.php');

 require(DIR_WS_BOXES . 'search.php');

 require(DIR_WS_BOXES . 'information.php');

 require(DIR_WS_BOXES . 'shopping_cart.php');



 if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');



 if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');



 if (isset($HTTP_GET_VARS['products_id'])) {

   if (tep_session_is_registered('customer_id')) {

     $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . $customer_id . "' and global_product_notifications = '1'");

     $check = tep_db_fetch_array($check_query);

     if ($check['count'] > 0) {

       include(DIR_WS_BOXES . 'best_sellers.php');

     } else {

       include(DIR_WS_BOXES . 'product_notifications.php');

     }

   } else {

     include(DIR_WS_BOXES . 'product_notifications.php');

   }

 } else {

   include(DIR_WS_BOXES . 'best_sellers.php');

 }



 if (isset($HTTP_GET_VARS['products_id'])) {

   if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

 } else {

   include(DIR_WS_BOXES . 'specials.php');

 }



 require(DIR_WS_BOXES . 'reviews.php');



 if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

   include(DIR_WS_BOXES . 'languages.php');

   include(DIR_WS_BOXES . 'currencies.php');

 }

?>

 

Then open up column right and delete EVERYTHING!

 

-Matt

Link to comment
Share on other sites

I think that the PaPal IPN contribution already sends the callback URL to PayPal, so it's not necessary to configure your PayPal account to do that.

 

Ye, thats right actually, you just have to turn it on in your paypal profile, but you dont have to set the callback url

 

-Matt

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...