Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 3 votes

Official PayPal IPN Support Thread


4127 replies to this topic

#401 shaunam

  • Community Member
  • 20 posts
  • Real Name:shauna

Posted 23 April 2005, 02:02

Did you ever get this working? I had this error and I had to create my own certificate and key if I recall correctly. The paypal docs say you can download theirs, but that never worked for my cert and key. If you have openssl, follow the directions for creating your own on your server. That's what I did when I had this same error and it fixed the problem.

zacarias2006, on Apr 17 2005, 01:32 AM, said:

sigh....been working on this for like forever now... I read this thread and my settings are correct im pretty sure about it. checked all the settings more than 20 times by now. I did the test on sandbox and on the live paypal server.  I get this error below

Error Detected
--------------------------------------------------------------------------------
The email address for the business is not present in the encrypted blob. Please contact your merchant.

Any ideas? What is an encrypted blob? how can i verify my e-mail address in the blob?

What i simply want to do is I want people having the option to go to paypal and pay without CC having to go sign up at paypal. I received this result only once at the sandbox and after i put encrypted web payments to 'false'. and after I tried it again but then it goes to the test(sandbox) server but asks for a paypal account. So the customers doesn't have an option. 

Thats the only way i get it working(consumers needs to sign up before they can purchase). I dont want this! Another odd thing is that when the order has been accepted at the test server the order status didnt change right away.

I would like to get this working but been working long hours on it and becuase of 'poor' documentation on both paypal IPN and paypal developer central I do not understand my problem and I do not know what to do.

<{POST_SNAPBACK}>



#402 gazr

  • Community Member
  • 30 posts
  • Real Name:Paul

Posted 23 April 2005, 12:38

OK-

Just installed IPN on a CLEAN MS2.2 and I'm getting some funky stuff happening. Cart will not clear. Nothing gets returned from PayPal. Basically useless :( I'm very interested in this module and would like to know what's causing this as I read someone else a couple of pages back had the exact same thing. I've been using the sandbox to test and I have my own SSL certificate. Would wrong cookie settings cause this problem? I have force cookie use set to 'on'.

Anyone?

Thanks for the module... I really do like the interface, especially in admin :)

Paul.

#403 Dhananjaya

  • Community Member
  • 132 posts
  • Real Name:Edward
  • Gender:Male
  • Location:Florida

Posted 23 April 2005, 17:24

rezdwan, on Jan 19 2005, 12:52 AM, said:

Hello all! I am testing this contribution at the moment and I must thank those that have put in their hardwork into it. Great contribution. If at all, the contributors wish to add PayPal graphics to this contribution (eg. the page where the customers are made to select payment method), I think the following image is a great example.
[img]https://www.paypal.com/en_US/i/bnr/horizontal_solution_PP.gif[/img]
Since it is part of the merchant tool and ready for us to use, why not? It can be found at PayPal - Online Logo Center. Other logos are available there too.

If I am not wrong, this Online Logo Center is a new thing for merchants (I wasn't able to find it until recently). Do visit it for more information on the Usage Guidelines and agreements. Just my humble opinion.

Thank You

<{POST_SNAPBACK}>

I can't figure out how to get this logo to show up on my site. Please explain. Anyone.
Thank you
Edward
I have moved on from oscommerce to magento and no longer monitoring this site.

#404 Dhananjaya

  • Community Member
  • 132 posts
  • Real Name:Edward
  • Gender:Male
  • Location:Florida

Posted 23 April 2005, 18:34

Dhananjaya, on Apr 23 2005, 10:24 AM, said:

I can't figure out how to get this logo to show up on my site. Please explain. Anyone.
Thank you
Edward

<{POST_SNAPBACK}>

Nevermind
I gots it.
Weren't nuthin
I have moved on from oscommerce to magento and no longer monitoring this site.

#405 PKfanSteph

  • Community Member
  • 9 posts
  • Real Name:Stephanie Bargenquast

Posted 26 April 2005, 02:14

I've read through this entire thread and can't find any mention of my problem.

I installed this module a month ago because my merchandise person was reporting the lost orders problem this was designed to fix. She hasn't reported anything like that happening, but now we've got a new problem.

Here is how she describes it:

"We seem to be having a problem with folks using Paypal and I'm not sure what it is as it doesn't happen every time but does happen quite often.

Someone will place an order and pay through Paypal or at least the order says so.
Some of them will use a debit card and that number may or may not be on the order but in the little box above the comment box, there is no info.

It just says No Order History Available.

So they think they paid by Paypal but a payment never hits our Paypal account."


And after some questioning, here is more info:

"Yes, they were intending to place an order.

Some must realize they don't go through because they immediately place another order with the card itself and I get both orders, but some don't know."


Does this sound familiar to anyone?

#406 tommy11011

  • Community Member
  • 130 posts
  • Real Name:Tom

Posted 28 April 2005, 03:24

Good Evening, I need to seek a higher power.

I installed the paypal IPN module last night, version 1.1

I have a sandbox account. I have one problem and a few questions.

Problem: After I complete the paypal order, I click the "Click to Finalize Order" button which is supposed to return me to the website. The link it is trying to return me to is https://www.mydomain.com/checkout_process.php

However, when it returns, that page is blank. How can I fix this? (same kind of blank page when you have some php error). This page does work for other modules. Also, no email from paypal is received. Any help here is appreciated.

On to the questions:

There seem to be 2 areas of paypal that need to be set. One is the "Instant Payment Notification Preferences" where you turn IPN on or off and specify it's url. The other are is "Website Payment Preferences" where you choose autoreturn on/off, autoreturn url, payment data transfer on/off, encryption, and optional account on/off.

What are the settings. I have tried a variety. Currently, I have the IPN turned on and left the address blank. This seems to be working ok as my status changes from "Preparing [PayPal IPN]" to "pending".

I have the preferences set to autoreturn-off, no url, payment data transfer to off. The reason I have left these off is because the return address seems to be set by the module no matter what I put in here.

If you could help me with the return page error specified above, it would be most appreciated. Also, if it helps, the following modules are installed.

qtpro 4.2
authorize.net 1.7b

thanks.

Edited by tommy11011, 28 April 2005, 03:26.


#407 slofly

  • Community Member
  • 50 posts
  • Real Name:steve

Posted 28 April 2005, 08:05

I've programmed a bit of php and this code is totally uncommented and the ipn thread is dead. Who knows what is going on in that code for the ipn?
If there is no comments to this then I wonder. I'm really trying but do find this code hard to decipher.
Any help with IPN?
I have a question about the IPN docs.

Edited by Johnson, 28 April 2005, 08:11.


#408 Johnson

  • Banned
  • 5,205 posts
  • Real Name:Matti Ressler
  • Location:Sydney, Australia

Posted 28 April 2005, 08:12

Which IPN module? - there are several, including a new one released by the osCommerce Team. You should post questions to the relevant *support* thread.

Matti
Matti Ressler

We were all once expert at...... nothing
_____

#409 TCwho

  • Community Member
  • 732 posts
  • Real Name:Danny

Posted 28 April 2005, 15:52

wheeloftime, on Jan 17 2005, 03:42 PM, said:

Okay, this is what I had to do to get it working. First I had to get my public certificate from the SSL I am running (at the moment I still use a self-signed one but I guess it won't be different when I have decided which official SSL certificate I can best buy and install).
If you are lucky you can get it the easy way. Through my Plesk admin I could just download the .pem file I needed for the Paypal IPN. It was called mydomain.pem and should be used for the entry 'Your Public Certificate' inside the Paypal IPN module. In case you can not do this you will probably need the openSSL part but I can't tell how that works.

Then I went to the Paypal Sandbox to look for the other two files I needed. After a little while I found you have to login into your sandbox account and go to the section 'Profile' from which you choose 'Encrypted Payment Settings'. Looking there you will find the option to download the PayPal Public Certificate (paypal_cert_pem.txt) and underneath that you find 'Your Public Certificates' where you choose add and upload the mydomain.pem you got from your own website SSL. Upon return you will find your Cert ID which you use for 'Your PayPal Public Certificate ID' within the Paypal IPN module. Also you can now download a file called 'cert_key_pem.txt'.
This 'cert_key_pem.txt' you use within the Paypal IPN module for the entry 'Your Private Key' and the 'paypal_cert_pem.txt' for the entry 'PayPals Public Certificate'.

In short:
From Paypal you have to get 2 files called 'paypal_cert_pem.txt' and 'cert_key_pem.txt' which you use within the osc Paypal IPN module for the above mentioned entries. The Paypal generated Cert.ID goes into 'Your PayPal Public Certificate ID'.
The one file needed from your own server goes into 'Your Public Certificate'.

Those three files you upload onto your server to a place at your discretion (I think) and within the Paypal IPN module you direct to them through an absolute path (at least that was what I had to do to get it working). IE. /home/httpdoc/vhosts/mydomain/httpdocs/my directory/cert_key_pem.txt
Similar for the rest. I had to change the working directory to an absolute path also to get rid of the errors I got at first. No need to change the name of the .txt files to .pem !
The entry for openSSL directory I left as it was because I didn't need it obviously and it didn't generate any errors leaving it as it was.

I did some test orders and all went fine with these settings.
You probably know most of what I wrote but I thought it could be handy for other people looking for information on this.

One thing I noticed after doing a test order is that on the Paypal side you can enter a different shipping address which however does not get returned to the shop. Looking at the transaction details on Paypal there is no address information at all so it could be tricky if the customer doesn't give a different shipping address from within the shop but only from the Paypal payment screen ?!

<{POST_SNAPBACK}>



Thank you Howard! Thank you.

Everything you wrote was absolutely correct and worked for me! I have been running around trying to generate my own private/public keys with openssl via xampp with so much trouble.....

Thank you (my SSL issuer gave me the public certifcate in PEM format - and told me to get my private key from webhost [who refused to give it to me] -- all this because I thought it was the way to do it from reading the manual from paypal about encrypted web payments)

Thanks again.

#410 tommy11011

  • Community Member
  • 130 posts
  • Real Name:Tom

Posted 28 April 2005, 16:31

tommy11011, on Apr 27 2005, 11:24 PM, said:

Good Evening, I need to seek a higher power.

I installed the paypal IPN module last night, version 1.1

I have a sandbox account.  I have one problem and a few questions.

Problem: After I complete the paypal order, I click the "Click to Finalize Order" button which is supposed to return me to the website.  The link it is trying to return me to is https://www.mydomain.com/checkout_process.php

However, when it returns, that page is blank.  How can I fix this?  (same kind of blank page when you have some php error).  This page does work for other modules.  Also, no email from paypal is received.  Any help here is appreciated.

On to the questions:

There seem to be 2 areas of paypal that need to be set.  One is the "Instant Payment Notification Preferences" where you turn IPN on or off and specify it's url.  The other are is "Website Payment Preferences" where you choose autoreturn on/off, autoreturn url, payment data transfer on/off, encryption, and optional account on/off.

What are the settings.  I have tried a variety.  Currently, I have the IPN turned on and left the address blank.  This seems to be working ok as my status changes from "Preparing [PayPal IPN]" to "pending".

I have the preferences set to autoreturn-off, no url, payment data transfer to off.  The reason I have left these off is because the return address seems to be set by the module no matter what I put in here.

If you could help me with the return page error specified above, it would be most appreciated.  Also, if it helps, the following modules are installed.

qtpro 4.2
authorize.net 1.7b

thanks.

<{POST_SNAPBACK}>


Well, I think I fixed the problem of the page not returning to checkout_process.php. Looks like anyone using authorize.net 1.7b will need this fix. Fixing it also fixed the problem of emails not being sent out. After reviewing this lengthy thread, I stumbled across the fix. All credit goes to it's author devosc (Gregory Baboolal).

In includes/modules/payment/paypal_ipn.php,

find
-----
include(DIR_WS_CLASSES . 'order_total.php');
$order_total_modules = new order_total;
$order_totals = $order_total_modules->process();

change to this
----------------
if(!class_exists('order_total')) {
include_once(DIR_WS_CLASSES . 'order_total.php');
$order_total_modules = new order_total;
$order_totals = $order_total_modules->process();
}

Has anyone else used this fix? If so, can you verify that authorize.net is not affected?

I will be happy to submit this to the contribution but I would like to hear back from the community first on this thread.

#411 slofly

  • Community Member
  • 50 posts
  • Real Name:steve

Posted 28 April 2005, 17:58

I had just found the ipn support thread under osCommerce Contributions > Contribution Support and would have moved it before your reply if there was an edit or delete button - sorry. Is there an option I'm missing? Deleting this thread is okay with me.

Thanks- it is osCommerce-PayPal_IPN-v1.1
My goal is to clear the users cart for inventory control once the pay button is hit at paypal. My impression is they can close the paypal window without hitting continue.
So far they would need to and they also get a security warning when hitting the continue button.

Johnson, on Apr 28 2005, 01:12 AM, said:

Which IPN module? - there are several, including a new one released by the osCommerce Team.  You should post questions to the relevant *support* thread.

Matti

<{POST_SNAPBACK}>


Edited by slofly, 28 April 2005, 17:59.


#412 Contactit

  • Community Member
  • 50 posts
  • Real Name:Steve

Posted 29 April 2005, 15:37

After several weeks I now have my personal certificate installed on my site via my provider. I asked him for the certificate so that I can install it into the Paypal IPN module.

They have emailed it to me but without the key. Am I right in thinking there should be a key?

I inserted it into the Paypal IPN module but Paypal complain that my email address is not present in the BLOG!

I thought I was at the end of a long journey, but I guess I am just beginning!

I have turned off encryption in the module and it woks fine. However, I am sure I read the rules and Paylpal require encrytion, so I need to get it all working.
This is what i have in my paypal IPN please help -

Your Private Key
The location of your Private Key to use for signing the data. (*.pem)
* ???

Your Public Certificate
The location of your Public Certificate to use for signing the data. (*.pem)
* LOCATION OF MY NEW CERTIFICATE

PayPals Public Certificate
The location of the PayPal Public Certificate for encrypting the data.
* DOWNLOADED FROM PAYPAL

Your PayPal Public Certificate ID
The Certificate ID to use from your PayPal Encrypted Payment Settings Profile.
* DOWNLOADED FROM PAYPAL

Working Directory
The working directory to use for temporary files. (trailing slash needed)

#413 rudizoon

  • Community Member
  • 37 posts
  • Real Name:John ten Velde
  • Location:New Zealand

Posted 05 May 2005, 02:03

21 pages!! My problem hasn't really been answered though, even if the problem has been raised.

The module is working fine, except that no emails to customer and shopkeeper from osC, and no stock updates. I have to update the stock quantities manually, which means that it is possible that another customer can purchase the same product, even if it should be out of stock due to the first purchase. Order status update from ipn is working okay though.

I don't know what the reason is, whether it's because my customers aren't returning to my site, or the fact that I'm sending a total instead of itemised details to PayPal.

The solution is probably to create a dedicated checkout_success page for this, and transfer the email and stock transfer parts to the ipn script, with an evaluation for the PayPal status "Verified" - has anyone done this successfully?

Any other suggestions?

John

#414 tommy11011

  • Community Member
  • 130 posts
  • Real Name:Tom

Posted 05 May 2005, 03:02

rudizoon, on May 4 2005, 10:03 PM, said:

21 pages!!  My problem hasn't really been answered though, even if the problem has been raised.

The module is working fine, except that no emails to customer and shopkeeper from osC, and no stock updates.  I have to update the stock quantities manually, which means that it is possible that another customer can purchase the same product, even if it should be out of stock due to the first purchase.  Order status update from ipn is working okay though.

I don't know what the reason is, whether it's because my customers aren't returning to my site, or the fact that I'm sending a total instead of itemised details to PayPal.

The solution is probably to create a dedicated checkout_success page for this, and transfer the email and stock transfer parts to the ipn script, with an evaluation for the PayPal status "Verified" - has anyone done this successfully?

Any other suggestions?

John

<{POST_SNAPBACK}>


Is IPN turned on in your paypal settings?

#415 JayWill

  • Community Member
  • 9 posts
  • Real Name:Jay William

Posted 05 May 2005, 03:09

Hello,

My issue with the OsCommerce PayPal IPN so far is that my online store is bilingual (English and French), but that whenver a customer is ready to checkout and pay, the PayPal page is only showing in English.

Is there a way for the PayPal page to show in the customer's default language ? Or a way to manually go around this issue ?

Thank you ;)

#416 rudizoon

  • Community Member
  • 37 posts
  • Real Name:John ten Velde
  • Location:New Zealand

Posted 05 May 2005, 04:31

tommy11011, on May 5 2005, 04:02 PM, said:

Is IPN turned on in your paypal settings?

<{POST_SNAPBACK}>


No.

There have been numerous posts informing me that it shouldn't be turned on, because that's taken care of from my end. Besides, I'm not having any problems with the ipn part - I'm receiving the verifications from PayPal okay, and the order status is updated. Just that there are no osC generated emails and stock updates.

Cheers
John

#417 rudizoon

  • Community Member
  • 37 posts
  • Real Name:John ten Velde
  • Location:New Zealand

Posted 05 May 2005, 23:58

Further testing has proven that it is the customer not clicking that last button to return to my site. If they click that, all's okay, but it seems that despite two clear, friendly instructions (one in red lettering on the last page before going to PayPal, and one rewording of the last button on the PayPal site), they are not taking that last step.

rudizoon, on May 5 2005, 03:03 PM, said:

21 pages!!  My problem hasn't really been answered though, even if the problem has been raised.

The module is working fine, except that no emails to customer and shopkeeper from osC, and no stock updates.  I have to update the stock quantities manually, which means that it is possible that another customer can purchase the same product, even if it should be out of stock due to the first purchase.  Order status update from ipn is working okay though.

I don't know what the reason is, whether it's because my customers aren't returning to my site, or the fact that I'm sending a total instead of itemised details to PayPal.

The solution is probably to create a dedicated checkout_success page for this, and transfer the email and stock transfer parts to the ipn script, with an evaluation for the PayPal status "Verified" - has anyone done this successfully?

Any other suggestions?

John

<{POST_SNAPBACK}>



#418 tommy11011

  • Community Member
  • 130 posts
  • Real Name:Tom

Posted 06 May 2005, 00:34

rudizoon, on May 5 2005, 07:58 PM, said:

Further testing has proven that it is the customer not clicking that last button to return to my site.  If they click that, all's okay, but it seems that despite two clear, friendly instructions (one in red lettering on the last page before going to PayPal, and one rewording of the last button on the PayPal site), they are not taking that last step.

<{POST_SNAPBACK}>


Well, for me, after I make a paypal payment, if I don't click the paypal button to return me to the store, I don't get the email. However, my order status is updated, that is the purpose of IPN.

The fact the email is not being sent out must be a bug of some sort that relies the checkout_success page instead of the IPN.

One other bug I notice on mine, with the paypal ipn, I don't have the check box on my checkout success page that says "Please notify me of updates to the products I have selected below:"

The text is there, but not the box. The box is there for all other payment options.

Maybe Ponce can have a look and fix it.

PS - one other thing that screwed me up for a few hours, if you are still in developement, make sure the site is not password protected while testing paypal!! The ipn will never make it through.

Edited by tommy11011, 06 May 2005, 00:36.


#419 DefelRadar

  • Community Member
  • 59 posts
  • Real Name:Aaron Hilbers

Posted 06 May 2005, 20:18

I am having a very weird problem with Paypal IPN 1.1 that I haven't been able to find a solution to and i'm hoping someone out there can help me.

I install the mod just fine and it works pefectly with the exception of the whole not showing tax bit that others have had problems with. So I install PandA.nl 's mod to the file and follow his instructions to uninstall (remove) Paypal IPN in admin and then upload the changed file and then try to install paypal IPN with the modded tax changes. The only problem is when I click the install button in the admin section all it seems to do is refresh the screen and doesn't display the fields for me to edit. All it does is show the install button again. I've tried checking about everything I can think of to try and see what the problem is but now I'm clueless. I would like to get this working because charging tax is a must! Thanks for any insight!!

Aaron

#420 rudizoon

  • Community Member
  • 37 posts
  • Real Name:John ten Velde
  • Location:New Zealand

Posted 06 May 2005, 21:09

It could be a missing apostrophy. I suggest reverting to the old version to prove that the problem is with that file, and if that works, go through the changes you made with a fine-toothed comb.

John

DefelRadar, on May 7 2005, 09:18 AM, said:

I am having a very weird problem with Paypal IPN 1.1 that I haven't been able to find a solution to and i'm hoping someone out there can help me.

I install the mod just fine and it works pefectly with the exception of the whole not showing tax bit that others have had problems with.  So I install PandA.nl 's mod to the file and follow his instructions to uninstall (remove) Paypal IPN in admin and then upload the changed file and then try to install paypal IPN with the modded tax changes.  The only problem is when I click the install button in the admin section all it seems to do is refresh the screen and doesn't display the fields for me to edit.  All it does is show the install button again.  I've tried checking about everything I can think of to try and see what the problem is but now I'm clueless.  I would like to get this working because charging tax is a must!  Thanks for any insight!!

Aaron

<{POST_SNAPBACK}>