Jump to content
Mark Evans

Official PayPal IPN Support Thread

Recommended Posts

If you only add tax to item, per item should work, but you still need to try. The bottom line is not to add tax to shipping/handling with per item option.

 

Thank you Alex - quick reply.

Ok, thats good. I will try more testing.

 

Thanks again

:thumbsup:


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites

I have noiticed a slight problem with the emails.

 

If the customer enters anything in the comments field during checkout, the comment is not added to the order confirmation email. The comment appears in admin but I would reallly like to see it in the email because any message is usually an important one.

 

Any way I can fix this please?

 

Thank you

Tigergirl


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites

Hey guys,

 

I'm still trying to figure out how to get my QTPro to work and automatically update stock while I'm using PayPal IPN. I just can't seem to figure it out, and someone said the fix was in this thread, but I can't find it! Any help would be extremely appreciated.

 

Thanks in advance,

 

-Ben

Share this post


Link to post
Share on other sites

I've altered the text the customer sees under "Payment Method" on the checkout_payment page, in the paypal_ipn file:

 

define('MODULE_PAYMENT_PAYPAL_IPN_TEXT_TITLE', 'Credit/Debit Card via PayPal (with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxx after paying by clicking on \'RETURN TO XXXX to Complete your Order Confirmation\')');

 

 

Is there a way I can:

1) Put the "Credit/ Debit Card via Paypal" for Payment Method text on one line in bold

2) Have a separate line for "(with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxxx after paying by clicking on 'RETURN TO XXXX to Complete your Order Confirmation')" in normal text

3) Prevent this on the invoice: "Credit/Debit Card via PayPal (wi" or can I restrict the characters for this on the invoice somewhere??? It looks like it is restricted already because it's been cut off anyway.

 

This would make it neater on the payment pages and also, it would prevent the text "(with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxxx after paying by clicking on 'RETURN TO XXXX to Complete your Order Confirmation')" appearing in the confirmation emails.

 

I think if my Payment method text is defined as just "Credit/ Debit Card via Paypal" then if someone can tell me how to add a text line with "(with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxxx after paying by clicking on 'RETURN TO XXXX to Complete your Order Confirmation')" in non-bold all will be solved...

 

4) What code would I need to make the text link on paypal be in bold/ red??

define('CONFIRMATION_BUTTON_TEXT', 'RETURN TO xxx to Complete your Order Confirmation');

 

Thanks again super duper helpers

Tigergirl


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites

Hi Terra

I guess I didn't test enough the other day....A customer bought some items yesterday, somehow paypal didn't go through, but that's not what I'm writing about....

Seems everything from her order is populating to the anyone...Example

The items she bought last night are now in my shopping cart when I log in and the item I bought in testing was in her shopping cart last night. Also, the first thing I noticed was that she wrote a long comment when checking out, I find it everywhere now...no matter what customer I log into her comments are prepopulated in their comments.

So first thing is first...How do I get this contribution to stop empty the shopping cart. I think what ever solves that is going to solve the comment problem.

any thoughts?

Teresa

Share this post


Link to post
Share on other sites

What I meant to say...Is how do I get the contribution to empty the shopping cart, maybe at each new session? or login...How can I fix this problem, Any thoughts?!

Teresa

Share this post


Link to post
Share on other sites

Thanks Terra.

 

The login details were just a customer account NOT the admin account :)

 

I have tried doing what you said but it still doesnt seem to work, no option appears.

 

 

Does this have anything to do with it?

 

p_cfg_select_option(array(\'Selected Currency\',\'Only USD\',\'Only CAD\',\'Only EUR\',\'Only GBP\'[code]

 

I have installed the new PayPal IPN but that seems to want all these Private Keys, Public Certificates etc. I dont know how or where to get those!

 

 

 

So to clear everything up. I want to be able to receive paypal payments and possibly credit card payments (later date?) in NZD. I am a bit stuck.

 

Any help would be greatly appreciated.

 

Thanks very much Terra for putting in the time to answer my previous post.

Share this post


Link to post
Share on other sites
If you only add tax to item, per item should work, but you still need to try. The bottom line is not to add tax to shipping/handling with per item option.

 

 

Tried everything but only the aggregate option works, otherwise shipping total is higher in the orders, no clue why.

 

So i am switching back to aggregate, if there is a way to transfer items without messing up the total it would be great to know.

 

Thanks

 

Amit

Share this post


Link to post
Share on other sites

In your osCommerce admin panel make sure that Use Cache is set to False.

 

In both configure.php files make sure that the last line reads 'mysql' where indicated - thus storing sessions in the database and not in files in a temp folder.

 

In both configure.php files make sure that both the http and https_cookie_domain settings are correct. Neither of them should have http:// or https:// as part of their name - it's a domain name and not a url (web address) that's needed in this setting.

 

If your site uses full ssl (not shared), and if the ssl cert is made out to www.yourdomain.com then the http and https_cookie_domain settings will be 'www.yourdomain.com' but if the full ssl cert is made out just to yourdomain.com then both settings will be to 'yourdomain.com'

 

If your site uses shared ssl and your shared ssl address is something like https://servername.yourhosts.com/yourdomain.com then the https_cookie_domain would be something like 'servername.yourhosts.com' and the https_cookie_path will be '/yourdomain.com/'

 

If you do the above tips correctly then the session trail should be kept, the shopping cart emptied, and customers shouldn't be getting into each others information.

 

Finally, make sure that under Configuration --> Sessions that Prevent Spider Sessions is set to True.

 

If you have a full ssl cert correctly set up (not a shared ssl cert) then you can also turn on Force Cookie Use.

 

Vger

 

What I meant to say...Is how do I get the contribution to empty the shopping cart, maybe at each new session? or login...How can I fix this problem, Any thoughts?!

Teresa

Share this post


Link to post
Share on other sites

Vger...You are a peach for getting back to me. I checked all your items and the only thing below that was was wrong was the spiders were set to false. I changed this however the shopping cart still has items in it when you login. The good thing is that they do Delete, it just doesn't make a customer feel very confident about the site.

The only thing that has changed in my configure files is XSell on the catalog side:

//ADD XSELL BEGIN

define('DIR_FS_CACHE_XSELL', '/BNWeb//cache/');

//ADD XSELL END

and on the admin side is XSell, Constant Contact Dump and User Tracking

define('DIR_FS_ADMIN', $DOCUMENT_ROOT . '/BNWeb//catalog/admin/');

//ADD CONSTANT CONTACT EMAIL DUMPS

define('DIR_FS_MAIL_DUMPS', DIR_FS_ADMIN.'maildumps/');

//add user tracking bof

define('DIR_WS_FLAGS', DIR_WS_IMAGES . 'flags/');

//add user tracking eof

//ADD XSELL BEGIN

define('DIR_FS_CACHE_XSELL', '/BNWeb//cache/');

//ADD XSELL END

 

And the only thing I saw in Admin Configuration that my be wrong would be in "Logging" Store Database Queries is set to False, but I think that is correct as I believe logging isn't completely working yet, Didn't I read that somewhere....

So with the new information and some feedback on your thoughts....Any other ideas???

 

 

 

 

In your osCommerce admin panel make sure that Use Cache is set to False. - YES IT IS

 

In both configure.php files make sure that the last line reads 'mysql' where indicated - thus storing sessions in the database and not in files in a temp folder. YES THEY ARE

 

In both configure.php files make sure that both the http and https_cookie_domain settings are correct. Neither of them should have http:// or https:// as part of their name - it's a domain name and not a url (web address) that's needed in this setting. CHECK - define('HTTP_COOKIE_DOMAIN', 'teenietinystitches.netfirms.com');

AND CHECK define('HTTPS_COOKIE_DOMAIN', 'teenietinystitches.sslpowered.com');

If your site uses full ssl (not shared), and if the ssl cert is made out to www.yourdomain.com then the http and https_cookie_domain settings will be 'www.yourdomain.com' but if the full ssl cert is made out just to yourdomain.com then both settings will be to 'yourdomain.com'SHARED - NOT APPLICABLE

 

If your site uses shared ssl and your shared ssl address is something like https://servername.yourhosts.com/yourdomain.com then the https_cookie_domain would be something like 'servername.yourhosts.com' and the https_cookie_path will be '/yourdomain.com/'CHECK -- define('HTTP_SERVER', 'http://teenietinystitches.netfirms.com'); // eg, http://localhost - should not be empty for productive servers

AND CHECK -- define('HTTPS_SERVER', 'https://teenietinystitches.sslpowered.com'); // eg, https://localhost - should not be empty for productive servers

 

If you do the above tips correctly then the session trail should be kept, the shopping cart emptied, and customers shouldn't be getting into each others information.

 

Finally, make sure that under Configuration --> Sessions that Prevent Spider Sessions is set to True.THIS WAS SET TO FALSE AND I JUST CHANGED IT

 

If you have a full ssl cert correctly set up (not a shared ssl cert) then you can also turn on Force Cookie Use. AGAIN NOT APPLICABLE

 

Vger

Share this post


Link to post
Share on other sites
I've altered the text the customer sees under "Payment Method" on the checkout_payment page, in the paypal_ipn file:

 

define('MODULE_PAYMENT_PAYPAL_IPN_TEXT_TITLE', 'Credit/Debit Card via PayPal (with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxx after paying by clicking on \'RETURN TO XXXX to Complete your Order Confirmation\')');

Is there a way I can:

1) Put the "Credit/ Debit Card via Paypal" for Payment Method text on one line in bold

2) Have a separate line for "(with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxxx after paying by clicking on 'RETURN TO XXXX to Complete your Order Confirmation')" in normal text

3) Prevent this on the invoice: "Credit/Debit Card via PayPal (wi" or can I restrict the characters for this on the invoice somewhere??? It looks like it is restricted already because it's been cut off anyway.

 

This would make it neater on the payment pages and also, it would prevent the text "(with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxxx after paying by clicking on 'RETURN TO XXXX to Complete your Order Confirmation')" appearing in the confirmation emails.

 

I think if my Payment method text is defined as just "Credit/ Debit Card via Paypal" then if someone can tell me how to add a text line with "(with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxxx after paying by clicking on 'RETURN TO XXXX to Complete your Order Confirmation')" in non-bold all will be solved...

 

4) What code would I need to make the text link on paypal be in bold/ red??

define('CONFIRMATION_BUTTON_TEXT', 'RETURN TO xxx to Complete your Order Confirmation');

 

Thanks again super duper helpers

Tigergirl

 

Tiger, where did you find this define() function to change? I looked in /catalog/includes/modules/payment/paypal_ipn.php file and couldn't find that line. I'd like to make the same alterations that you've done to make the whole credit card via PayPal thing a little more clear for my customers as well. =)

Share this post


Link to post
Share on other sites
I have installed the new PayPal IPN but that seems to want all these Private Keys, Public Certificates etc. I dont know how or where to get those!

So to clear everything up. I want to be able to receive paypal payments and possibly credit card payments (later date?) in NZD. I am a bit stuck.

The private key etc. have always been part of the PayPal module so the newer version should be no different from the older ones. Just use the settings you had before (probably empty). To correctly install the new version you must first uninstall the old one and then re-install the new one. If your shop uses NZD, then you can just leave the setting on "selected currency". 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
define('MODULE_PAYMENT_PAYPAL_IPN_TEXT_TITLE', 'Credit/Debit Card via PayPal (with or without PayPal account - You DO NOT need to register a new PayPal account. Please return to xxxx after paying by clicking on \'RETURN TO XXXX to Complete your Order Confirmation\')');

If I remember correctly this field is limited in characters as it's also repeated on the checkout_confirmation page & the account history / view orders page so if you need to have this very, very long entry you will need to change your DB field or it will be truncated. And don't forget that this text is included whenever the order is shown ... on the email, in the admin, on the account history .. it's not just checkout_payment!

 

On my own site, I've done a small amendment to checkout_confirmation where I show extra text if a customer pays via PayPal:

<!-- PayPal warning message -->
<?php if ($order->info['payment_method'] == 'Credit & Debit Card (Paypal)') {
echo 'your text goes here'; 
} ?>

NB: the name of the payment method must match exactly the name it has in your shop or this won't work. 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
Tried everything but only the aggregate option works, otherwise shipping total is higher in the orders, no clue why.

 

So i am switching back to aggregate, if there is a way to transfer items without messing up the total it would be great to know.

 

Thanks

 

Amit

This is a different issue which has nothing to do with tax. There is a bug in per item option since the first version. It tried to send shipping cost for each item separately, but actually it sent the overall shipping cost as many times as the number of items. To describe this bug more specifically, see below:

 

in v2.2 code

 

catalog/includes/modules/payment/paypal_ipn.php line 306-309:

			  $shipping_cost = $order->info['shipping_cost'] + tep_calculate_tax($order->info['shipping_cost'], $shipping_tax);
		}

		$parameters['shipping_' . $item] = number_format($shipping_cost * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency));

 

What these lines actually do is that it sends out $order->info['shipping_cost'] (the shipping total) with EACH items $parameters['shipping_' . $item]

 

Let's say you have an order with 3 items, then it will send the shipping total 3 times.

 

PayPal will add up these shipping cost, so you will get shipping total higher.


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
If I remember correctly this field is limited in characters as it's also repeated on the checkout_confirmation page & the account history / view orders page so if you need to have this very, very long entry you will need to change your DB field or it will be truncated. And don't forget that this text is included whenever the order is shown ... on the email, in the admin, on the account history .. it's not just checkout_payment!

 

On my own site, I've done a small amendment to checkout_confirmation where I show extra text if a customer pays via PayPal:

<!-- PayPal warning message -->
<?php if ($order->info['payment_method'] == 'Credit & Debit Card (Paypal)') {
echo 'your text goes here'; 
} ?>

NB: the name of the payment method must match exactly the name it has in your shop or this won't work. all the best - Terra

 

Terra, thank you so much for a speedy response. I hadn't thought about all the other files this would affect. I did try your suggestion in inc/lang/eng/checkout_confirmation - it gave the line of text at the top of the page. I wanted the text to be a bit more visible for customers.

 

I decided to try a different option which doesn't affect the other files:

in inc/module/payment/paypal_ipn I altered to:

define('MODULE_PAYMENT_PAYPAL_IPN_TEXT_TITLE', 'Credit/Debit Card (via PayPal)');
 define('MODULE_PAYMENT_PAYPAL_IPN_TEXT_DESCRIPTION', 'PayPal IPN');

 // Sets the text for the "continue" button on the PayPal Payment Complete Page
 // Maximum of 60 characters!  
 define('CONFIRMATION_BUTTON_TEXT', 'RETURN TO XXXX to Complete your Order Confirmation');

 

in inc/lang/english/checkout_payment I altered:

define('TEXT_SELECT_PAYMENT_METHOD', 'Please select the preferred payment method to use on this order. <br>PayPal - use securely with or without PayPal account.');

 

in inc/lang/eng/checkout_confirmation I altered:

define('TEXT_INFORMATION', '<b><font color="#FF0000"> Paying by Debit/ Credit Card?  You DO NOT need to register a PayPal account, use PayPal with or without PayPal account.<br>After paying via PayPal please click on \'RETURN TO XXXX to Complete your Order Confirmation\'.</font></b>');

 

I'm hoping this will make it clear to the customer since PayPal tries to fool people into registering a PayPal account. Hopefully they will return to the store to sign up to product notifications too.

 

Tiger, where did you find this define() function to change? I looked in /catalog/includes/modules/payment/paypal_ipn.php file and couldn't find that line. I'd like to make the same alterations that you've done to make the whole credit card via PayPal thing a little more clear for my customers as well. =)

 

Rob - this post might help you too. The file you wanted was: inc/module/payment/paypal_ipn - paypal_ipn.php,v 2.1.0.0 13/01/2007 (newest version), it's at the top of the file. - Good luck.

 

 

 

Terra, thanks again, and for the superb contrib. I posted earlier about the customer comments in the email confirmation. Are you able to help with that?

 

Kind regards

Tigergirl


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
If I remember correctly this field is limited in characters as it's also repeated on the checkout_confirmation page & the account history / view orders page so if you need to have this very, very long entry you will need to change your DB field or it will be truncated. And don't forget that this text is included whenever the order is shown ... on the email, in the admin, on the account history .. it's not just checkout_payment!

This is only because you have the title element shown in the selection and confirmation page which is not necessary.

 

You can add one more element in the class defienition such as $this->show = some new constant for language

 

and then put this new element in selection and confirmation block. Thus you can have a brief title text in DB field and an extremely complicated text-and-image shown at the payment selection and confirmation page.


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

Thanks Alex I do appreciate what you say but I have no idea what you mean here, sorry. Sometimes I need an ABC explanation of coding. How would I do this?

 

ThanQ

Tigergirl

 

This is only because you have the title element shown in the selection and confirmation page which is not necessary.

 

You can add one more element in the class defienition such as $this->show = some new constant for language

 

and then put this new element in selection and confirmation block. Thus you can have a brief title text in DB field and an extremely complicated text-and-image shown at the payment selection and confirmation page.


I'm feeling lucky today......maybe someone will answer my post!

I do try and answer a simple post when I can just to give something back.

------------------------------------------------

PM me? - I'm not for hire

Share this post


Link to post
Share on other sites
Thanks Alex I do appreciate what you say but I have no idea what you mean here, sorry. Sometimes I need an ABC explanation of coding. How would I do this?

 

ThanQ

Tigergirl

Sorry I was explaining that to Terra about how this can be done. I leave the decision to her in respect of whether or not to include this feature in the later upgrades.


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
You've got the variable wrong - try this:
$parameters['item_name'] = STORE_NAME . ' order ' . substr($cart_PayPal_IPN_ID, strpos($cart_PayPal_IPN_ID, '-')+1);;

all the best - Terra

 

I also want to thank you for this Terra, so: Thank you!

 

Maybe you should build it in the 2.2 version :thumbsup:


Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites
Ok, I'm back. Saw some question not answered for a while. If anybody don't like my post, please just ignore.

 

WB! :thumbsup:


Norman in 't Veldt

 

Moderator

osCommerce The Netherlands

Share this post


Link to post
Share on other sites

Does anyone have any further thoughts as to why the shopping cart in 2.2 is populating with previous customer orders (above) #2162. I'm very concerned people will not want to check out if they see there is some kind of problem with things showing up in their shopping cart before they even do anything. Yes, they do delete and I have a "KNOWN PROBLEM" posted to customers so that they know I know about it and they need only delete the items before they start, but you know customers they are very shy about these kinds of problems. I don't really have any changes going on in "shopping_cart" or in the modules - "shopping_cart". I checked all the settings, I'm not a Newbie, here, but I am no expert either and could really use a push in the right direction, as I don't even know what direction to face.

Teresa

Share this post


Link to post
Share on other sites
Does anyone have any further thoughts as to why the shopping cart in 2.2 is populating with previous customer orders (above) #2162. I'm very concerned people will not want to check out if they see there is some kind of problem with things showing up in their shopping cart before they even do anything. Yes, they do delete and I have a "KNOWN PROBLEM" posted to customers so that they know I know about it and they need only delete the items before they start, but you know customers they are very shy about these kinds of problems. I don't really have any changes going on in "shopping_cart" or in the modules - "shopping_cart". I checked all the settings, I'm not a Newbie, here, but I am no expert either and could really use a push in the right direction, as I don't even know what direction to face.

Teresa

There is something wrong with your sessions, that's why you see others' cart content. Please check osCommerce knowadge base regarding sessions, or contact your host for help.


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
CHECK - define('HTTP_COOKIE_DOMAIN', 'teenietinystitches.netfirms.com');

AND CHECK define('HTTPS_COOKIE_DOMAIN', 'teenietinystitches.sslpowered.com');

Your cookie domain setting is WRONG.

 

try '.teenietinystitches.netfirms.com' and '.teenietinystitches.sslpowered.com' (3 dots)

 

Cookies can be assigned to individual machines, or to an entire Internet domain. The only restrictions on this value is that it must contain at least two dots (.myserver.com, not myserver.com) for the normal top-level domains, or three dots for the "extended" domains (.myserver.ny.us, not myserver.ny.us)
http://www.cookiecentral.com/faq/

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
This is a different issue which has nothing to do with tax. There is a bug in per item option since the first version. It tried to send shipping cost for each item separately, but actually it sent the overall shipping cost as many times as the number of items. To describe this bug more specifically, see below:

 

in v2.2 code

 

catalog/includes/modules/payment/paypal_ipn.php line 306-309:

			  $shipping_cost = $order->info['shipping_cost'] + tep_calculate_tax($order->info['shipping_cost'], $shipping_tax);
		}

		$parameters['shipping_' . $item] = number_format($shipping_cost * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency));

 

What these lines actually do is that it sends out $order->info['shipping_cost'] (the shipping total) with EACH items $parameters['shipping_' . $item]

 

Let's say you have an order with 3 items, then it will send the shipping total 3 times.

 

PayPal will add up these shipping cost, so you will get shipping total higher.

 

So is this something being considered in the next upgrades ? I guess Terra you would be the one to answer that or is this an inherent problem with osC and cannot be solved as of now ?

Share this post


Link to post
Share on other sites
Okay - well for starters I don't know at which stage the email was placed in the script. If it's right at the top then you're right - PayPal does not access your file. The ipn update pathway is sent in the paypal_ipn.php:

$parameters['notify_url'] = tep_href_link('ext/modules/payment/paypal_ipn/ipn.php', '', 'SSL', false, false);

and if you look into your /includes/functions/html_output.php you'll see that tep_href_link calls in the info as entered in the configure file:

	if ($connection == 'NONSSL') {
  $link = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
} elseif ($connection == 'SSL') {
  if (ENABLE_SSL == true) {
	$link = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG;
  } else {
	$link = HTTP_SERVER . DIR_WS_HTTP_CATALOG;
  }
} else {

so unless you have a problem with your folder structure or you set up the configure file wrongly, I don't know what can be going wrong - it really *should* work. Terra :'(

 

Any new thoughts on this issue? I am really stumped!

 

I am on a shared hosting environment running PHP 4.4.1. I don't have SSL, but CURL is enabled. I have just started from scratch with a fresh install of osCommerce and the latest official PayPal_IPN. I have checked and rechecked my directory structure, settings and the above code snippets and everything appears to be in order - but I am still not receiving anything back from PayPal.

 

I added the mail('','','') function to the very top of the ipn.php file, just after the opening <?php tag. The mail is successfully sent and received if I navigate to the ipn.php page via my browser, but I don't get anything after processing a transaction through the sandbox. Both buyer and seller sandbox accounts receive PayPal confirmation emails, indicating that the transaction was successfully processed on that end, but no "store- side" updates occur.

 

Any ideas?? :sweating:

 

Thanks for reading,

R

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

×