Jump to content
Mark Evans

Official PayPal IPN Support Thread

Recommended Posts

Greate code - yeap, obviously got the wrong info above. I do wonder though if there's an easier way? The email aready pulls in the text from the language level file checkout_process.php (e.g. EMAIL_TEXT_PAYMENT_METHOD) so if you define your new Constant MODULE_PAYMENT_PAYPAL_IPN_TEXT_EMAIL_FOOTER in /includes/languages/english/checkout_process.php you *should* be able to do it without any further code changes. Haven't tested this though. Terra


My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad)

and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

Share this post


Link to post
Share on other sites
Greate code - yeap, obviously got the wrong info above. I do wonder though if there's an easier way? The email aready pulls in the text from the language level file checkout_process.php (e.g. EMAIL_TEXT_PAYMENT_METHOD) so if you define your new Constant MODULE_PAYMENT_PAYPAL_IPN_TEXT_EMAIL_FOOTER in /includes/languages/english/checkout_process.php you *should* be able to do it without any further code changes. Haven't tested this though. Terra

 

What you say is not all correct as it give the PayPal (Credit Card / Debit) as its footer in the email, and this is something that is only in the language related files.

 

Do have a look at the European Bank Transfer contri for this.

Edited by i2Paq

Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites

Forget what i've said. Changing the code made the module stop working correctly.

So I'm using it as is. :blush:

 

Hopefully you will keep my suggestions in mind when building a new release. :-"


Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites

Okay, I finally understand (I think). The PayPal IPN does not have a footer but as the email is put together in paypal_ipn.php anyway, you can just modify it, for example in paypal_ipn.php find this code:

	  if (is_object($$payment)) {
	$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .
					EMAIL_SEPARATOR . "\n";
	$payment_class = $$payment;
	$email_order .= $payment_class->title . "\n\n";
	if ($payment_class->email_footer) {
	  $email_order .= $payment_class->email_footer . "\n\n";
	}
  }

and just below add your own Constant:

	  $email_order .= MY_OWN_PAYPAL_TEXT . "\n\n";

 

Then in english/checkout_process.php add this code:

define('MY_OWN_PAYPAL_TEXT', 'whatever');

Does that achieve what you need it to do? As PayPal has it's own email function, you can modify that in whatever way you need and it won't affect the other payment modules. Terra

Edited by Terra

My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad)

and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

Share this post


Link to post
Share on other sites

That all well and good IF the PayPal IPN sends an email.

 

Mine still only does part of the time and I cant make it put the correct order number in the emails when it does. It sill put "ser" as the order number.

 

Any fresh ideas? Anyone?

Share this post


Link to post
Share on other sites

I've installed the Paypal IPN contribution and tested everything and it was working. Now, however, I am getting an error after I am returned back to my site from paying in paypal... Please help thanks...

 

The error reads, "Fatal error: Call to undefined function: tep_href_link() in /hsphere/local/home/skeeweea/absolutelybeautifulhairillusions.com/catalog/checkout_success.php on line 20"

 

As far as I know, I have not changed ANYTHING in this file. I changed some of the text in the file in the english folder, but changed it back after getting this error. However, that didn't fix it...

 

Here is some of the code:

 

<?php

/*

$Id: checkout_success.php,v 1.49 2003/06/09 23:03:53 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

// if the customer is not logged on, redirect them to the shopping cart page

if (!tep_session_is_registered('customer_id')) {

tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

}

 

if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'update')) {

$notify_string = 'action=notify&';

$notify = $HTTP_POST_VARS['notify'];

if (!is_array($notify)) $notify = array($notify);

for ($i=0, $n=sizeof($notify); $i<$n; $i++) {

$notify_string .= 'notify[]=' . $notify[$i] . '&';

}

if (strlen($notify_string) > 0) $notify_string = substr($notify_string, 0, -1);

 

tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string));

}

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_SUCCESS);

 

$breadcrumb->add(NAVBAR_TITLE_1);

$breadcrumb->add(NAVBAR_TITLE_2);

 

$global_query = tep_db_query("select global_product_notifications from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "'");

$global = tep_db_fetch_array($global_query);

 

if ($global['global_product_notifications'] != '1') {

$orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where customers_id = '" . (int)$customer_id . "' order by date_purchased desc limit 1");

$orders = tep_db_fetch_array($orders_query);

 

$products_array = array();

$products_query = tep_db_query("select products_id, products_name from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . (int)$orders['orders_id'] . "' order by products_name");

while ($products = tep_db_fetch_array($products_query)) {

$products_array[] = array('id' => $products['products_id'],

'text' => $products['products_name']);

}

}

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="3" cellpadding="3">

<tr>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<td width="100%" valign="top"><?php echo tep_draw_form('order', tep_href_link(FILENAME_CHECKOUT_SUCCESS, 'action=update', 'SSL')); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><table border="0" width="100%" cellspacing="4" cellpadding="2">

<tr>

<td valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_man_on_board.gif', HEADING_TITLE); ?></td>

<td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?><br><br>

Share this post


Link to post
Share on other sites

Terry, which file did you change in the language folder? You probably saved the file in the wrong place and cuased this problem.

Edited by AlexStudio

Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites
Terry, which file did you change in the language folder? You probably saved the file in the wrong place and cuased this problem.

 

 

I changed the catalog/includes/languages/english/checkout_success.php

 

Here is the code for that...

 

<?php

/*

$Id: checkout_success.php,v 1.12 2003/04/15 17:47:42 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE_1', 'Checkout');

define('NAVBAR_TITLE_2', 'Success');

 

define('HEADING_TITLE', 'Your Order Has Been Processed!');

 

define('TEXT_SUCCESS', 'Your order has been successfully processed! Your products will arrive at their destination within 2-5 working days. However, custom orders take 5-6 weeks!');

define('TEXT_NOTIFY_PRODUCTS', 'Please notify me of updates to the products I have selected below:');

define('TEXT_SEE_ORDERS', 'You can view your order history by going to the <a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">\'My Account\'</a> page and by clicking on <a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY, '', 'SSL') . '">\'History\'</a>.');

define('TEXT_CONTACT_STORE_OWNER', 'Please direct any questions you have to <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">customer service</a>.');

define('TEXT_THANKS_FOR_SHOPPING', 'Thanks for shopping with Absolutely Beautiful Hair Illusions online!');

 

define('TABLE_HEADING_COMMENTS', 'Enter a comment for the order processed');

 

define('TABLE_HEADING_DOWNLOAD_DATE', 'Expiry date: ');

define('TABLE_HEADING_DOWNLOAD_COUNT', ' downloads remaining');

define('HEADING_DOWNLOAD', 'Download your products here:');

define('FOOTER_DOWNLOAD', 'You can also download your products at a later time at \'%s\'');

?>

 

 

But the error is pointing to the other checkout_success.php file under CATALOG/CHECKOUT_SUCCESS.PHP...

Share this post


Link to post
Share on other sites

well, you probably upload the file into the wrong place in your host.


Super Download Shop, PayPal Express Checkout IPN, Selling Downloads, Visual Validation (preventing robotic flood), phpBB2 Integration

 

Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.

Share this post


Link to post
Share on other sites
well, you probably upload the file into the wrong place in your host.

 

I checked, I did, and I'm sorry lol....KISSES! :P

 

Terry

Share this post


Link to post
Share on other sites
Okay, I finally understand (I think). The PayPal IPN does not have a footer but as the email is put together in paypal_ipn.php anyway, you can just modify it, for example in paypal_ipn.php find this code:

 

Then in english/checkout_process.php add this code:

define('MY_OWN_PAYPAL_TEXT', 'whatever');

Does that achieve what you need it to do? As PayPal has it's own email function, you can modify that in whatever way you need and it won't affect the other payment modules. Terra

 

Terra, thanks voor your reply and help!

 

I will test this tonight.

 

The reason I need these 2 adjustments is that in the Netherlands you need to inform your customers about your precedings and the working of your shop (Dutch Law).

 

The e-mail footer will tell my customers what they will see on there bank account statement when their payment is deducted. They are also informed that they have the right to cancel their order within 7 days (Ducth Law).

 

If possible then I would also like to see the possibility to show the Paymentinformation during checkout (like the European bank transfer and my modded cod.php) This is to tell the customer that he is guided away form my shop to the PayPal site and to follow the guidelines of PayPal to make a succesfull payment. This is because a lot of people do not understand what is happening en thus close there browser because the are supprised to suddenly see the PayPal site :blush:

 

Am I right that the new code should look like this:

 

	  if (is_object($$payment)) {
	$email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" .
					EMAIL_SEPARATOR . "\n";
	$payment_class = $$payment;
	$email_order .= $payment_class->title . "\n\n";
	if ($payment_class->email_footer) {
	  $email_order .= $payment_class->email_footer . "\n\n";
	}
  }
  $email_order .= MY_OWN_PAYPAL_TEXT . "\n\n";

Edited by i2Paq

Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites
If possible then I would also like to see the possibility to show the Paymentinformation during checkout (like the European bank transfer and my modded cod.php) This is to tell the customer that he is guided away form my shop to the PayPal site and to follow the guidelines of PayPal to make a succesfull payment. This is because a lot of people do not understand what is happening en thus close there browser because the are supprised to suddenly see the PayPal site

Ah, okay - I see now why you want the footer! I didn't think of the checkout_confirmation.page. So yes, it would be good to include this in the next update as standard.

 

In my own shop I have done this manually:

 

1. amend the email in paypal_ipn.php to include whatever info you need (definitions in language level checkout_process.php, email code as above)

 

2. in checkout_confirmation I have made a simple if statement to show some info if PayPal is selected as payment method:

<!-- PayPal warning message -->
<?php if ($order->info['payment_method'] == 'Credit & Debit Card (Paypal)') {
echo '<table"><tr><td>During PayPal payment, please follow all prompts to "continue / return to merchant" until you reach the "Your Order Has Been Processed" confirmation!</td></tr></table>'; } ?>

 

You'd need to make sure though that your if statement matches the name of your paypal module exactly - in my case it's "Credit & Debit Card (Paypal)" but this might differ on your site.

 

Will look in the footer option for the next update though as it's a simpler method. Terra


My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad)

and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

Share this post


Link to post
Share on other sites
Ah, okay - I see now why you want the footer! I didn't think of the checkout_confirmation.page. So yes, it would be good to include this in the next update as standard.

 

In my own shop I have done this manually:

 

1. amend the email in paypal_ipn.php to include whatever info you need (definitions in language level checkout_process.php, email code as above)

 

Works like a charm, thank you! :thumbsup:

 

2. in checkout_confirmation I have made a simple if statement to show some info if PayPal is selected as payment method:

 

In the checkout_confirmation in the \catalog or the languages related files? As my shop runs 2 languages (Dutch and English).

 

Will look in the footer option for the next update though as it's a simpler method. Terra

 

You mean the Paymentinformation part?

 

Great, don't wait to long :lol:


Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites
In the checkout_confirmation in the \catalog or the languages related files? As my shop runs 2 languages

 

The code goes into the root. To make it multi-language, just replace the text with a Constant:

<!-- PayPal warning message -->
<?php if ($order->info['payment_method'] == 'Credit & Debit Card (Paypal)') {
echo '<table><tr><td>' . MY_PAYPAL_TEXT . '</td></tr></table>'; } ?>

 

and then define MY_PAYPAL_TEXT in the language leve file for checkout_confirmation.

 

all the best, Terra


My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad)

and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

Share this post


Link to post
Share on other sites
The code goes into the root. To make it multi-language, just replace the text with a Constant:

<!-- PayPal warning message -->
<?php if ($order->info['payment_method'] == 'Credit & Debit Card (Paypal)') {
echo '<table><tr><td>' . MY_PAYPAL_TEXT . '</td></tr></table>'; } ?>

 

and then define MY_PAYPAL_TEXT in the language leve file for checkout_confirmation.

 

all the best, Terra

 

OK, that will do for me.

 

If you planning to change this payment module so that it shows the Paymentinformation during checkout you need to ad this:

 

return array('title' => MODULE_PAYMENT_PAYPAL_IPN_TEXT_DESCRIPTION);

 

In the other payment modules this is what it looks like:

 

function confirmation() {
return array('title' => MODULE_PAYMENT_PAYPAL_IPN_TEXT_DESCRIPTION);

 

In the PayPal_IPN module you already use the functionconfirmation:

 

function confirmation() {
 global $cartID, $cart_PayPal_IPN_ID, $customer_id, $languages_id, $order, $order_total_modules;

 

I've tried to add the return arry statement but then the module does not work anymore (it looks lik it works, you can place an order, pay and get all the emails etc. but no order is stored in the database and the confirmation email from the webshop has everything but no ordernumber :'(

 

Maybe it's easy to add the two function confirmation's together, but I'm no php coder and after finding out that whatever I did with this code combined my way I could not get it to work now my hope's are on you o:)

 

I'm already MEGA happy with the email_footer you gave me so I'm gonne be patient (is it ready already? :lol: )

 

Anyway, your help is much appriciated and a few members on the Dutch forum are also hoping that we are able to get this last little bear of the road.

 

Thanks again!


Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites

As know, PayPal charges a fee for using their system.

Can I use this contribution for that?

Or is there a better way?


Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites
Hey folks,

 

first of all: thanks for this great contribution.

I installed it and it works ..

 

.... beside one thing.

 

In my paypal account I 've set the redirect url as www.myshopwhatever.com/checkout_process.php

 

When a customer buys a product now at my shop, he gets redirected to this page

 

https://www.whatever.com//checkout_confirma...AGREEMENT_ERROR

 

On the top he sees a red warning CONDITION_AGREEMENT_ERROR!.

 

I tried the same with entering the checkout_succes.php and the checkout_confirmation.php.

 

The reason of this is probably, that I am using the contribution "Must agree to terms".

 

Has anybody an idea how I can fix this??

 

Thanks in advance.

2. How can I fix the problem regarding this CONDITION_AGREEMENT warning at the top. Is anybody using this contrib and also "Must agree to terms"?

 

3. Which redirect url is the correct one?

I 've already read checkout_confirmation or checkout_success.

which s the right one?

 

It would be great if you could give me some advice.

 

Thanx in advance

 

I know this is quite some time back, but I just encountered the same problem with the "Must Agree to Terms" contrib. I've worked out that the problem was the code "disabled javascript fix" added to checkout_process.php - this was sending the browser back to checkout_confirmation.php because it wasn't receiving "agreed=true" from PayPal.

 

So, just either comment out or remove these lines from checkout_process.php if you've previously added the javascript disabled fix:

 

// BEGIN OF MUST AGREE TO TERMS - JAVASCRIPT DISABLED FIX - By Phliplip
//  if(empty($HTTP_POST_VARS['agree'])) {
 //  include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PROCESS);
//	tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, 'terms_not_agreed='.urlencode(CONDITION_AGREEMENT_ERROR), 'SSL'));
// }
// END OF MUST AGREE TO TERMS - JAVASCRIPT DISABLED FIX - By Phliplip

 

After that use the Auto Return URL that this contribution recommends - ie: checkout_process.php - and everything works fine! :thumbsup:


Thanx,

Buesi

Share this post


Link to post
Share on other sites
As know, PayPal charges a fee for using their system.

Can I use this contribution for that?

Or is there a better way?

 

 

I've used this one in the past and it works fine because it just adds to the order total and so I don't think it will interfere with this contrib:

 

http://www.oscommerce.com/community/contri...arch,payPal+fee

 

(PayPal Fee by Marco Falcini - MARCUS)

 

However, I still think it's best to add the fee to the price of the actual product, I think it's less off-putting for customers. :)


Thanx,

Buesi

Share this post


Link to post
Share on other sites
I've used this one in the past and it works fine because it just adds to the order total and so I don't think it will interfere with this contrib:

 

http://www.oscommerce.com/community/contri...arch,payPal+fee

 

(PayPal Fee by Marco Falcini - MARCUS)

 

Thanks.

 

However, I still think it's best to add the fee to the price of the actual product, I think it's less off-putting for customers. :)

 

Yep.

 

I've decided to NOT charge the customer for this service in any way.

Edited by i2Paq

Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites
As know, PayPal charges a fee for using their system.

Can I use this contribution for that?

Or is there a better way?

 

As per the PayPal TOS your not allowed to charge an extra fee to use PayPal. If they catch you they will revoke your account.

 

The contribution you point to violates the PayPal TOS.

 

 

Section VI

No Surcharges. Under Visa, MasterCard, Discover and American Express regulations and the laws of several states, including California, merchants may not charge a fee to the buyer for accepting credit card payments (often called a "surcharge"). You agree that you will not impose a surcharge or any other fee for accepting PayPal as payment. This restriction does not prevent you from imposing a handling fee in connection with the sale of goods or services, as long as the handling fee does not operate as a surcharge (in other words, the handling fee for transactions paid through PayPal may not be higher than the handling fee for transactions paid through other payment methods).

https://www.paypal.com/us/cgi-bin/webscr?cm...policy_payments

Share this post


Link to post
Share on other sites
As per the PayPal TOS your not allowed to charge an extra fee to use PayPal. If they catch you they will revoke your account.

 

The contribution you point to violates the PayPal TOS.

https://www.paypal.com/us/cgi-bin/webscr?cm...policy_payments

 

I've decided to NOT charge the customer for this service in any way.

 

:thumbsup:


Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites

Hi

 

Just installed this and I get the following warnings through checkout:

 

Warning: payment(includes/languages/english/modules/payment/paypal_ipn.php): failed to open stream: No such file or directory in /home/leadlamps/domains/leadinglamps.co.uk/public_html/catalog/includes/classes/payment.php on line 38

 

Warning: payment(): Failed opening 'includes/languages/english/modules/payment/paypal_ipn.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/leadlamps/domains/leadinglamps.co.uk/public_html/catalog/includes/classes/payment.php on line 38

 

Any ideas??

Share this post


Link to post
Share on other sites

ok I've been getting 6 emails everytime an order gets placed with the "PayPal IPN Invalid Process" i've read and reintalled the package... I have wt pro installed so i modded the necessary file like the help file said to...

\That did not solve my problem...

I also noticed I have the "Package Tracking with Email Notification" which did mod my checkout_process.php file

 

here is what was moded:

***Step 11***

catalog/checkout_process.php

Find this:

tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

And replace with this:

<!-- Tracking contribution begin -->
tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT_1 . ' ' . $insert_id . ' ' .EMAIL_TEXT_SUBJECT_2 , $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
<!-- Tracking contribution end -->


Find this:

  tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);

And replace with this:

<!-- Tracking contribution begin -->
  tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT_1 . ' ' . $insert_id . ' ' .EMAIL_TEXT_SUBJECT_2, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
<!-- Tracking contribution end -->

 

I don't know if that is what is causing the problem... I've read all 53 pages trying to find what could be causing my problem and I've tried everything that other people said.

 

Would anyone be able to give me a hint? please.

 

I don't know what i should change on my paypal ipn file :S

 

Thanks!

Share this post


Link to post
Share on other sites
ok I've been getting 6 emails everytime an order gets placed with the "PayPal IPN Invalid Process" i've read and reintalled the package... I have wt pro installed so i modded the necessary file like the help file said to...

\That did not solve my problem...

I also noticed I have the "Package Tracking with Email Notification" which did mod my checkout_process.php file

I don't see how the email contrib can cause the invalid process error - they are two different functions. The easy answer first: to change your PayPal file, you probably just need to repeat the steps you mention above in paypal_ipn.php - it mirrors the code, so find the relevant bits & amend.

 

As for invalid process - that's harder. The "invalid" error is triggered if PayPal does not receive the required verification, i.e. the set of variables exactly as it was originally sent to PayPal. The verification is done in ipn.php. Can you confirm that your ipn.php is in the right place (/ext/... folder) and that your IPN in the PayPal account is OFF? Can you also check your error logs just in case & see if they contain anything useful?

 

Terra


My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad)

and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

Share this post


Link to post
Share on other sites
Warning: payment(includes/languages/english/modules/payment/paypal_ipn.php): failed to open stream: No such file or directory in /home/leadlamps/domains/leadinglamps.co.uk/public_html/catalog/includes/classes/payment.php on line 38

 

Warning: payment(): Failed opening 'includes/languages/english/modules/payment/paypal_ipn.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/leadlamps/domains/leadinglamps.co.uk/public_html/catalog/includes/classes/payment.php on line 38

Are you're sure the files are all uploaded and in the correct place? The error looks like it just can't find the necesary paypal_ipn.php file. Terra


My code for combining PayPal IPN with ** QTPro 4.25 ** osC Affiliate ** CCGV(trad)

and how to solve the invoice already paid error

General info: Allow customer to delete order comment ** FTP Programs & Text Editors ** Amending order email **

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×