-
Paypal IPN and Payment Problems
HI There
Hope one of you Zen Gods can help me out!
I have set up a store and the store is working fine and passing through paypal and =returning back to the store
BUT
the orders are not recording in the store at all.
I have read the other threads (i can't download some documents one thread refers to?) and followed the instructions and still cant fathom it out!
Do i need to alter any PHP files directly (i haven't done)
in ADMIN side, I have gone to Modules>payment>paypal
and filled all the right settings out, but still no joy. Have even checked the case settings on the email and that, the payments are appearing in Paypal, but no record of the orders are in the shop
Please help! I would be so grateful (and will donate! :-) )
thanks
PS - i forgot to mention, i got the message about to use an identity token when setting up payment data transfer , but not sure how to do this (or what it means!)
-
Re: Paypal and Payment Problems
Quote:
PS - i forgot to mention, i got the message about to use an identity token when setting up payment data transfer , but not sure how to do this (or what it means!)
Huh? The Zen Cart PayPal IPN doesn't use any token transfers.
Go to http://YOUR_SITE.com/docs/readme_paypal_ipn.html Complete instructions are there.
-
Re: Paypal and Payment Problems
HI Kim
re: token transfers.
I just reported the message which Paypal give me when I tried setting up the other settings!
Shall i just ignore this then?
I thought it could be a cause to my problem
Thanks so much for helping
I tried finding the docs directory but must have deleted it or something as it isn't there, is there a link on this site to the helpguide?
Thanks
DA
-
Re: Paypal and Payment Problems
David-
May I suggest you reupload the docs directory from the original distribution? :smile:
Then go through the set up, step by step on both your web site and in the PayPal account area.
-
Re: Paypal and Payment Problems
Hi there
Can you give me a link to where i can re-download this please?
i see some files are offline at present?
Thanks!
-
Re: Paypal and Payment Problems
I get this on the downloads section where the documents should be:
Sorry, this is empty at the moment. Please try again later.
-
Re: Paypal and Payment Problems
-
Re: Paypal and Payment Problems
Got em!
I presume 3.readme_paypal_ipn.html
is the one i need?
Thanks so much
-
Re: Paypal and Payment Problems
HI There
Still struggling I am afraid
I am guessing the problem must be in the paypal settings, but can't see where:
On the page for website settings there are all these options:
What do they need to be?
Website Payment Preferences Back to Profile Summary
--------------------------------------------------------------------------------
Auto Return for Website Payments
Auto Return for Website Payments brings your buyers back to your website immediately after payment completion. Auto Return applies to PayPal Website Payments, including Buy Now, Donations, Subscriptions and Shopping Basket. Learn More
Auto Return:
On
Off
Return URL: Enter the URL that will be used to redirect your customers upon payment completion. This URL must meet the guidelines detailed below. Learn More
Return URL:
Return URL Requirements: The following items are required in order to set up Auto Return.
In accordance with the User Agreement, you must provide written information on the page displayed by the Return URL that will help the buyer understand that the payment has been made and that the transaction has been completed.
You must provide written information on the page displayed by the Return URL that explains that payment transaction details will be emailed to the buyer.
Example: Thank you for your payment. Your transaction has been completed, and a receipt for your purchase has been emailed to you. You may log into your account at www.paypal.com/uk to view details of this transaction.
--------------------------------------------------------------------------------
Payment Data Transfer (optional)
Payment Data Transfer allows you to receive notification of successful payments as they are made. The use of Payment Data Transfer depends on your system configuration and your Return URL. Please note that to use Payment Data Transfer, you must turn on Auto Return.
Payment Data Transfer:
On
Off
Identity Token:
MMAMAM
--------------------------------------------------------------------------------
Encrypted Website Payments
Using encryption enhances the security of website payments by decreasing the possibility that a third party could manipulate the data in your button code. If you plan on only using encrypted buttons you can block payments from non-encrypted ones.
Learn more about Encrypted Website Payments
Note: If you enable Encrypted Website Payments, all of your Buy Now, Donations, and Subscriptions buttons must be encrypted via one of the following methods:
Using the Button Factory with the security settings enabled.
Using your own code, you encrypt all website payments before sending them to PayPal.
By enabling this feature, any Buy Now, Donation, or Subscription button that is not encrypted will be rejected by PayPal.
Block Non-encrypted Website Payment:
On
Off
--------------------------------------------------------------------------------
PayPal Account Optional
When this feature is turned on, your customers will go through an optimized checkout experience. This feature is available for Buy Now, Donations and Shopping Basket buttons, but not for Subscription buttons. Learn More
PayPal Account Optional:
On
Off
--------------------------------------------------------------------------------
Contact Telephone Number
When you activate this option, your customers will be asked to include a Contact Telephone Number with their payment information. Learn More
Note: Selecting On (Required Field) could have a negative effect on buyer conversion.
Whats the recommended for these settings?
Thanks
-
Re: Paypal and Payment Problems
ONLY the return needs to be on and then right under that defined
the only other thing that you might want to use is account optional...
leave everything else to OFF.
-
Re: Paypal and Payment Problems
HI There
OK, set that up and still not processing
I was wondering whether this could be a permissions thing?
My ipn_main_handler.php file is set to 644
If that could be it?
Also, my other worries were:
the TWO trailing slashes before ipn_main_handler.php
eg, mydomain:
https://web22.secure-server.com/mydo...in_handler.php
OR
is it because my secure settings are conflicting with paypals?
Thanks SO much for your help/advice etc!
PS
add:
when it returns to the Order acknowledgement page from the paypal payment screen, there is no order number.
its just not writing ANYTHING back to the store, even thought the URL's are working
-
Re: Paypal and Payment Problems
Did you ever get this figured out? (Cause I have the same problem, and have read everything and tried everything I can possibly think of, with no success.)
As far as your specific question about having "TWO trailing slashes before ipn_main_handler.php", I would certainly presume that is wrong.
But beyond that, please let me know if you got your PayPal sales to show up -- cause I sure can't -- and how you got it to work.
I have triple-checked all my PayPal settings (matching, lower-case email address set to primary, IPN on, IPN url set to http://store.zippermosaics.com/ipn_main_handler.php , Automatic Return URL set to http://store.zippermosaics.com/index...eckout_process , etc.).
I have checked with my hosting company, on advice from the wiki ( http://www.zen-cart.com/wiki/index.php/PayPal ), to make sure that the proper ports are "open for bidrectional communication" and requisite IP numbers are not blocked or behind a firewall or whatever, etc.
I have made sure there is no CUSTOM folder in /includes/languages/ or in /includes/languages/english/
I have replaced my "ipn_main_handler.php" file from the install folder. I have tried changing the few lines of code in this file, as suggested by sokhapkin in this thread:
http://www.zen-cart.com/forum/showth...t=31593&page=2
I have installed Shoetrick's patch -- from this thread:
http://www.zen-cart.com/forum/showthread.php?t=32302
That works, if you want to manually "push" each and every sale to force it to go where it's supposed to. (And in the meantime, hope no one else buys the same item, since it still appears in your inventory...)
. . . . . . . .
At this point my only guess is that it has something to do with "Payment Data Transfer" (in PayPal preferences). This is seldom mentioned in any of the ZenCart documentation, but when it is mentioned instructions are to set it to OFF -- I have tried both ways, makes no difference.
(Using most recent version of ZenCart - 1.3.5 -- fresh install.)
Thanks very much.
dustin
-
Re: Paypal and Payment Problems
Has anyone asked paypal to tset the IPN system.
there are way to many folks having issues now.
and Yes I know you get an email from paypal but have them test the IPN system
thats what talks back to your site and makes sure its OK to create the order
-
Re: Paypal and Payment Problems
Thank you for the speedy response.
I read through the HELP section on the PayPal site, and didn't figure anything out. So I emailed their SUPPORT and asked if they could test to make sure IPN is working properly.
I will post their reply.
Thanks.
-
Re: Paypal and Payment Problems
Well, until this paypal issue is resolved, is there any way to find out what my customers bought so that I can process the order? I installed that old version of "View paypal stuck orders" but I couldn't make sense of what it spat out. I'm running 1.3.5 and this is what it says:
.
.
.
cart => Object
observers => Array
contents => Array
254 => Array
qty => 1
240 => Array
qty => 1
21 => Array
qty => 1
.
.
.
Does that mean my customer bought item id's 254, 240, 21? That doesn't make much sense to me b/c those are id numbers of categories.
Anybody have a good solution?
-
Re: Paypal and Payment Problems
Well, until this paypal issue is resolved, is there any way to find out what my customers bought so that I can process the order? I installed that old version of "View paypal stuck orders" but I couldn't make sense of what it spat out. I'm running 1.3.5 and this is what it says:
.
.
.
cart => Object
observers => Array
contents => Array
254 => Array
qty => 1
240 => Array
qty => 1
21 => Array
qty => 1
.
.
.
Does that mean my customer bought item id's 254, 240, 21? That doesn't make much sense to me b/c those are id numbers of categories.
Anybody have a good solution?
-
Re: Paypal and Payment Problems
never mind... found and downloaded the Version 2 modified of DrByte's View Stuck orders and got it to push the order into the database. works with 1.3.5
-
Re: Paypal and Payment Problems
-
Re: Paypal and Payment Problems
Here is what I got back from PayPal Merchant Tech Support (**note: the link they refer to which "appears to have been updated with a fix" is this very thread**) :
"
IPN is still POSTing normally. Also the link you have included Appears to have been updated with a fix. If the issue persists I have included the most common problems affecting developers when working with IPN.
To send a dummy post, you can use http://paypaltech.com/Stephen/test/ipntest.htm
If you are having trouble with a program designed to work with PayPal, such as an IPN script, try some of these debugging techniques:
- Look at your system logs to figure out if PayPal is posting to your URL. For example, if you have a PHP script running in conjunction with your Apache Web server, look at the Apache logs to see if Apache is logging attempts by PayPal to post to your site. Since the information is being recorded chances are PayPal will be seen
- Try a simpler script. If your script has a lot of functions, try replacing it (temporarily) with a stripped-down version that just does the basics. Once the simple script is working as you expect, add in features such as writing to a database or sending an email message. You could try one of our basic scripts generated at http://www.paypaltech.com/SG2
- Output raw, rather than processed, data. For example, instead of parsing the data your script receives into pieces for easy logging, have your script write the raw data to a log file or email it to your email address.
- Add logging of output for inspection. For example, if your script puts together a string that should be posted back to PayPal, write a copy of this string to a log file just before posting it.
- Design manual testing into your script. Even if your script is intended to be hit by the PayPal server, build it to work properly when you open its URL in your Web browser.
- Test in the Sandbox. The PayPal Sandbox (see https://developer.paypal.com) lets you simulate the live production site. For example, you can trigger IPNs for shopping cart purchases, donations, or expiring subscriptions.
- Are you using ASP.NET? If so, try enabling tracing and examining the file "trace.axd" on your site. 500 errors should be captured there, as well as all of the posted form information.
REASONS FOR INVALID
- Make sure you are posting back ALL variables/values.
For PayPal to return VERIFIED, your IPN script needs to post back ALL the variables that were posted to it in the first place. In other words, if your script only needs to manipulate 1 or 2 variables, it is not enough to post back to PayPal only the variables/values your script is concerned with. Your script should post back EVERYTHING that was initially posted to it from PayPal. This is the only way PayPal will return VERIFIED
- Make sure you are not posting back to the wrong URL.
If you are testing in the Sandbox, you need to ensure your script posts back to www.sandbox.paypal.com. If you are on the live site, the script should post back to www.paypal.com. You will receive INVALID if you are testing in the Sandbox and your script posts back to the live site (or vice versa)
- Encoding
PayPal's IPN server expects that your script will POST back all variables that were posted to it and more importantly, that they are encoded the same way as they were sent to your script. If your script inadvertently changed the encoding of a character or interprets an encoded character as another character and POSTs back, you will likely see INVALID. This can happen sporadically and tends to occur, for example, when a payment is received and the buyer may have an accented character in their name or the order is for some item with a non-standard character in the item name. These instances are tricky to troubleshoot but it is listed here as it can cause INVALID when you would expect VERIFIED. Look for this issue when you are seeing that certain IPNs are INVALID and all the rest are VERIFIED.
"
Havent' yet had time to explore their suggestions. I'm afraid it's a bit too technical for me, in any case. But maybe some of you coders out there can make sense of it.
Please?? . . .
Thanks,
dustin
-
Re: Paypal and Payment Problems
I too seem to be having the same issues w/Paypal as many others here.
My site just had Zen Cart installed on it 1 month ago, so I believe we have the most updated version. We just went live yesterday.
My cousin told me she bought some products from my site. She advised she received no order number on the "checkout success" page. Also, there is no order summary she could look back when she views her account (as the checkout success page had advised her). Also, she received no email confirmation from Zen cart from her order. Just the Paypal confirmation which does NOT show what products she ordered.
I did a test myself and came up with the same findings as her AFTER I checked all the info with Paypal IPN ( which is all correct).
My web designer added the module so we could "view stuck orders"--which is basically useless to me--as I can not see what the customer has ordered.
I have no orders showing thru Paypal. She seems to be just as baffled as I am, and unfortunately, she can not come up with a solid fix for this.
Does anyone know how to contact the folks who run Zen Cart?
I have never come across a product where so many people are having the same issues and there doesn't seem to be any solid fixes around.
I have gone back on threads from April and have not been able to come up with anything that works.
If anyone can help, I would GREATLY appreciate it. I just got my website up and I hate to start having to call people to ask them what they ordered--very unprofessional indeed. :no:
If necessary, I can pay someone--I don't have much, but I can give something.
If you can help, please email me at mealster*earthlink.net.
Thank You,
Camille
ww.mdherbal.com
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Mealster
... she received no order number on the "checkout success" page. Also, there is no order summary she could look back when she views her account (as the checkout success page had advised her). Also, she received no email confirmation from Zen cart from her order. Just the Paypal confirmation which does NOT show what products she ordered.
Yup, exactly. I fear it might make cusomters nervous after buying something ...
Quote:
Originally Posted by
Mealster
My web designer added the module so we could "view stuck orders"--which is basically useless to me--as I can not see what the customer has ordered.
...
I just got my website up and I hate to start having to call people to ask them what they ordered--very unprofessional indeed. :no:
The "PayPal Sessions Viewer" (where you can "view stuck orders") should provide at least a temporary work-around. I'm thinking you must have an old version; if so, try installing v2.0 :
http://shoetick.com/PayPal_Session_Viewer_v2.0.zip
It should look like this:
http://platypusman.com/PayPal_stuck-orders.gif
Then you just click the "Move to Orders database" button, which will "push" the orders through to where they were supposed to have gone. (So you can see who bought what, and don't have to sheepishly contact them ...)
It works fine for me -- but some people have reported error messages if your store is not at the root directory :
http://www.zen-cart.com/forum/showth...t=32302&page=2
-
Re: Paypal and Payment Problems
Actually, I have gotten everything fucntioning properly by using this--which is from a poster named DickTerpin on another message board here at ZenCart:
/includes/modules/payment/paypal/paypal_functions.php
line 60 -- alter it like this:
Code:
if (strtolower($postArray['business']) != strtolower(MODULE_PAYMENT_PAYPAL_BUSINESS_ID)) {
It has worked beautifully. I did 2 tests and both came back perfect.
A freind of mine purchased some products this morning and she advised that she received her confirmation email and her "checkout success" page had the order number on it.
So it seems to be working properly!
Thanks for the advice ungeziefer. I am keeping this info in case something else crops up!
-
Re: Paypal and Payment Problems
Hello Mealster
glad you got this sorted out,
it would seem that the issue you had origionally was that you had a case error in the email address that you were using in your zen cart module,
this will keep the IPN from triggering,
this just forces the use of all lower case,
very good fix.
thanx for posting it
-
Re: Paypal and Payment Problems
Euphoria! ... Despair. ...
Didn't work for me. Thank you for posting it, though.
dustin
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
ungeziefer
Euphoria! ... Despair. ...
Didn't work for me. Thank you for posting it, though.
dustin
Your welcome Dustin. I am sorry it did not work for you. I know how frustrating it can be, believe me. :down:
I hope you find the answer you need.
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Merlinpa1969
Hello Mealster
glad you got this sorted out,
it would seem that the issue you had origionally was that you had a case error in the email address that you were using in your zen cart module,
this will keep the IPN from triggering,
this just forces the use of all lower case,
very good fix.
thanx for posting it
your welcome Merlinpa.
-
Re: Paypal and Payment Problems
The "upper/lower-case" issue was addressed in v1.3.6 core, along with several other improvements.
Additional troubleshooting information here:
http://www.zen-cart.com/wiki/index.p...7s_not_working
-
Re: Paypal and Payment Problems
I'm also not getting any Paypal transactions recorded or recognized in Zen. I have used it successfully with another software package only a couple weeks ago, so I'm reasonably sure my firewall settings are good.
I've gone through the troubleshooting settings, I have the IPN and Web Payments URLs entered in my Paypal profile correctly, I turned off Payment Data Transfer. Block Non-Encrypted Website Payment is off. I can't see anything wrong at all. The email address for my store Paypal account is all lower case, and is correct (I do get the Paypal confirmation emails from my tests, I just get nothing from Zen.) My free item tests work properly, and I get the emails from Zen for those transactions, so this is just Paypal IPN that's not working.
When I enter the IPN handler url in my browser, I do get a blank white screen (not that it means a great deal), I don't get PHP errors.
I was hoping to cut my store over today, but this is a MAJOR problem.
-
Re: Paypal and Payment Problems
Have you modified the meta-tags.php and put it in an override directory?
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Kim
Have you modified the meta-tags.php and put it in an override directory?
Not that I remember. I don't see anything about that in the IPN troubleshooting link.
Which override folder? One for the template I'm using? This is getting more and more confusing, lol.
-
Re: Paypal and Payment Problems
The URL? Do you have a $1 item set up for testing?
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Kim
The URL? Do you have a $1 item set up for testing?
I have a .50 item for testing.
http://www.infinite-realities.com/ze...roducts_id=189
-
Re: Paypal and Payment Problems
Can you switch to the classic template so I can test a second time?
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Kim
Can you switch to the classic template so I can test a second time?
I can, but I saw your transaction go through, seemingly correctly. Strange.
I just set it back to the classic, though the sideboxes won't line up due to the column widths.
Thanks for testing!
-
Re: Paypal and Payment Problems
Okay - the first order returned me to your site and did not have an order number or give me a download link on the Checkout Success page. The second order was flawless. This indicates you have template files that are out of date.
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Kim
Okay - the first order returned me to your site and did not have an order number or give me a download link on the Checkout Success page. The second order was flawless. This indicates you have template files that are out of date.
Hmm, ok. I have no idea which ones or where I would get updated versions. Technically Trublu is updated for 1.3.5, I guess I didn't expect there to be that significant a difference.
-
Re: Paypal and Payment Problems
Is there an includes/templates/tru_blue/templates directory? If so, what files are in it?
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Kim
Is there an includes/templates/tru_blue/templates directory? If so, what files are in it?
Yes, and quite a few. There are 10 folders and about 40 files (not counting the files in the folders.)
-
Re: Paypal and Payment Problems
After your test transactions, Kim, I suddenly got a bunch of IPN debug emails, including those for my test transactions an hour before, even though the emails were timestamped with the current time, not the time of the transaction.
One source of my problem is that Paypal is calculating tax (for orders in my state), and therefore the amount is different. So I'll have to have Zen Cart calc tax and turn it off in Paypal.
-
Re: Paypal and Payment Problems
Quote:
So I'll have to have Zen Cart calc tax and turn it off in Paypal.
Aye yup, that will cause problems not having amounts that match.
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Kim
Aye yup, that will cause problems not having amounts that match.
As for the template issues, I'll have to abandon Trublu for now, I don't have the time to try and troubleshoot all that. I'll stick with classic for now.
Thanks for all your help, I'll refund your dollar.
-
Re: Paypal and Payment Problems
Thanks - good luck with your shop.
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Steel Rat
After your test transactions, Kim, I suddenly got a bunch of IPN debug emails, including those for my test transactions an hour before, even though the emails were timestamped with the current time, not the time of the transaction.
PayPal's servers were having problems today, hence the delay in results being sent back to your site.
http://www.pdncommunity.com/blog/art...&message.id=29
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
DrByte
Thanks Doc!
-
Re: Paypal and Payment Problems
I am having the same problems. I have recieved 6 orders today (the first since my site when live on 11/1/06. I have checked all of the IPN issues shown earlier in this thread, I even made the line 60 change. can anyone help. I'll donate, pay, whatever :) please help
-
Re: Paypal and Payment Problems
Did you test before you opened the shop?
-
Re: Paypal and Payment Problems
I had a zen-cart designer create the templates, and work through all of the page transitions. I did not personally place an order
-
Re: Paypal and Payment Problems
Did your designer configure your PayPal Module?
-
Re: Paypal and Payment Problems
no I did...and I just read through the readme again to make sure I didn't miss something the first time. Everything is set correctly...even the case
-
Re: Paypal and Payment Problems
And the settings you have in your PayPal account for the AutoReturn and IPN URLs?
-
Re: Paypal and Payment Problems
Yes. I read an earlier post that some peoples some how got reset but I double checked to make sure they were correctly set.
-
Re: Paypal and Payment Problems
Return URL:
Auto return is on
Instant Payment Notification (IPN) OnInstant Payment Notification (IPN) URL: http://www.booghaboobaby.com/ipn_main_handler.php
I double checked all of those this morning also.
-
Re: Paypal and Payment Problems
-
Re: Paypal and Payment Problems
I found the problem. I realized that paypal was dupicating my shipping charges so zen cart did not see the same amount come back. I just place another order and it processed properly. Is there any way to have the order numbers start somewhere other than the # 1?
-
Re: Paypal and Payment Problems
I have just placed a test order and it was completed without a hitch.
-
Re: Paypal and Payment Problems
Any updates?
To add to this thread. I experience the same thing for a client's site. Paypal seems to add a 3$ shipping charge to all orders under 10$ value. All orders above 10$ are processes just ok.
Any ideas? I saw in the code, that actually the shipping charge is sent as 0.00 and included in the total amount, so the question is - where does the 3$ charge come from. (Free Shipping is being used. - same error with normal shipping)
-
Re: Paypal and Payment Problems
I still haven't gotten it to work. I'm at a complete loss.
But in your case--
Quote:
Originally Posted by
masterblaster
Paypal seems to add a 3$ shipping charge to all orders under 10$ value. All orders above 10$ are processes just ok.
...
--it sounds like you need to change the shipping preferences ("Shipping Calculations") in your PayPal account profile. Scroll to the bottom and hit the "Clear Settings" button.
I believe you should also check the box under "Miscellaneous — Allow transaction-based shipping settings to override profile settings (Optional)" (someone correct me if that is wrong -- I've tried ZenCart purchases with this on and off, and it didn't make any difference, but it sounds to me like we would want this checked).
Basically, the cart needs to figure out all the shipping/tax costs; and the total amount (all items + all shipping + all tax added together) is the amount that goes to PayPal. (Which is somewhat unfortunate, since there's no itemized listing on the payment page -- just a total and your store name.)
-
Re: Paypal and Payment Problems
It is configured on the PayPal site and needs to be disabled.
-
Re: Paypal and Payment Problems
I came across this at a clients site.
goto paypal - profile -> Shipping Calculations
Make sure all the cost in the shipping boxes are blank then save it seems to solve the not recording issue for me.
Paypal's add shipping thing screws it up.
Just make sure paypal isn't adding shipping cost use zen-cart for that.
-
Re: Paypal and Payment Problems
Thanks all of you for the info. I don't have access to the client account, so I couldn't check. I will have him check for it.
Maybe we should add this to the paypal wiki page as a possible problem? -> might help somebody in future.
-
Re: Paypal and Payment Problems
I am working on a fresh install of the current stable version.
I too am having these issues, specifically:
Paypal Processes the transaction
No (Zen) log entry is generated
No (Zen) log e-mail is generated
No order number is displayed on the "Thank You" page
The order disappears from the customer_basket
The order is not placed in orders
The inventory is not properly updated
PayPal **IS** processing the correct amount ($1.97) - which matches the amount on the shopping cart prior to checkout.
The fact that the log entry is not being generated tells me that something fishy is happening on the return page - but I am not a PHP guy, so this is much like me doing my own dentistry.
I have had other (three - not tons) successful installs with previous versions.
FWIW - Check/Money Order works fine.
And for a BRIEF time today, it appeared to be working, but not now.
Any help is appreciated.
-
Re: Paypal and Payment Problems
Inventory is not updating should be translate to read - the item(s) are being subtracted but nothing is being put in the orders -
Which says to me that the inventory IS being processed properly... but because the items isn't being added to the orders table, that is improper...
I am confusing myself.
Also - note that PayPal will be down from 11:00-1:00 Pacific Time - could this have something to do with our problems all day today?
What a bad day to try to open a store.
-
Re: Paypal and Payment Problems
Well... I disable PayPal over night (not removed - just disabled). Paypal did their maintenance thing from 11p-1a PST last night and... this morning... it works.
No rhyme.
No reason.
No changes to code were made.
-
Re: Paypal and Payment Problems
Wow, I thought PP was more reliable than that. Sorry you had to go through all that pain just to find out you weren't doing anything wrong.
-
Re: Paypal and Payment Problems
Yeah, well... down again.
Anybody else going up and down like this?
I see that Pay Pal is going down for two hours again tonight for maintenance. I don't know if there is any relationship between this and the problems that I am having.
Does anybody have any experience with debugging this?
It can't be just me having problems.
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
mriecken
Yeah, well... down again.
Anybody else going up and down like this?
I see that Pay Pal is going down for two hours again tonight for maintenance. I don't know if there is any relationship between this and the problems that I am having.
Does anybody have any experience with debugging this?
It can't be just me having problems.
I haven't gotten any store traffic yet, so I can't help you there. :sleepy:
-
Re: Paypal and Payment Problems
The bug appears to be in the paypal module.
There is some disagreement on how to pull things out of and put things into the zen_paypal table.
I am digging now.
-
Re: Paypal and Payment Problems
Paypal is working fine for an awful lot of shops ... which makes me doubt it is a bug in the Payment module for PayPal that comes with Zen Cart ...
This does lead me to believe it is your site, or your personal PayPal settings on the PayPal site ... or you have ports blocked for either sending or receiving ...
Read through the /docs on PayPal and check again that all settings are correct ...
Make sure your site is not Down for Maintenance and that you do not have a password on your site or PayPal cannot return order information ...
-
Re: Paypal and Payment Problems
Well - there's SOMETHING wrong here.
I'm getting IPN traffic, but log entries placed in the IPN processing script never get triggered.
Digging even deeper (the column error I reported above was confusion on my part) Ifind this in my apache logs:
[Tue Nov 14 23:08:35 2006] [error] [client 216.113.188.202] mod_security: Access denied with code 406. Pattern match "^$" at HEADER("USER-AGENT") [severity "EMERGENCY"] [hostname "amy.gorosary.com"] [uri "/store/ipn_main_handler.php"]
Any insight?
-
Re: Paypal and Payment Problems
Have you an URL to your site that we could perhaps peek at?
-
Re: Paypal and Payment Problems
Well, I too am having this problem with two of my sites.
www.freenetworkinginternational.com/Cart
and
https://www.animalartbysandy.com
Anyone get anywhere with this?
I have triple checked my paypal settings installed and uninstalled and installed the paypal module to no avail.
Thanks,
Lee
-
Re: Paypal and Payment Problems
My error logs look like this:
Fri Nov 2006 20:08 -- IPN NOTICE::Got past language loads
Fri Nov 2006 20:08 -- IPN INFO - POST VARS
payment_date=18%3A08%3A37+Nov+17%2C+2006+PST
&txn_type=web_accept
&last_name=Moon
&residence_country=US
&item_name=www.FreeNetworkingInternational.com...+++Online+Store+Purchase
&payment_gross=8.00
&mc_currency=USD
&business=Webmaster%40FreeNetworkingInternational.com
&payment_type=instant
&verify_sign=AjhoPeOYJByfDiJ4j1-..vR99ppQADunhpg64ZCGmL5rb6G43fY3F.t7
&payer_status=verified
&tax=0.00
&payer_email=Lee%40sinsweb.org
&txn_id=0TL39333A85260640
&quantity=1
&receiver_email=Webmaster%40FreeNetworkingInternational.com
&first_name=Lee
&payer_id=NUEK5RX6QKRP6
&receiver_id=DFQ2DY73Q7YSW
&item_number=1
&payer_business_name=Sins+Web
&payment_status=Completed
&payment_fee=0.53
&mc_fee=0.53
&shipping=0.00
&mc_gross=8.00
&custom=zenid%3D02a3a647f995f9e22a9d1765d20a856b
&charset=windows-1252
¬ify_version=2.1
&cmd=_notify-validate
Fri Nov 2006 20:08 -- IPN INFO - CURL INFO
HTTP/1.1 200 OK
,Date: Sat, 18 Nov 2006 02:08:46 GMT
,Server: Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
,Set-Cookie: cookie_check=yes; expires=Tue, 15-Nov-2016 02:08:46 GMT; path=/; domain=.paypal.com
,Set-Cookie: Apache=74.52.131.146.323281163815726147; path=/; expires=Mon, 10-Nov-36 02:08:46 GMT
,Connection: close
,Transfer-Encoding: chunked
,Content-Type: text/html; charset=UTF-8
,
,8
,VERIFIED
,0
,
Fri Nov 2006 20:08 -- IPN WARNING::Transaction email address not matched. From IPN = Webmaster AT FreeNetworkingInternational DOT com: From CONFIG = Webmaster AT freenetworkinginternational DOT com
Fri Nov 2006 20:08 -- IPN FATAL ERROR::Transaction did not validate
But I can not find CONFIG= anywhere...
-
Re: Paypal and Payment Problems
It also is not sending the items I purchase to paypal. It just says purchase for so and so website...
-
Re: Paypal and Payment Problems
Look at your email address- They Do Not MatCh they are case sensitive.
-
Re: Paypal and Payment Problems
YES! But in the config they are the same exactly... I can't find where else to change it...
http://www.freenetworkinginternational.com/snag2.bmp
-
Re: Paypal and Payment Problems
They match now and it still does not work:
Fri Nov 2006 21:39 -- IPN INFO - CURL INFO
HTTP/1.1 200 OK
,Date: Sat, 18 Nov 2006 03:39:49 GMT
,Server: Apache/1.3.33 (Unix) mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
,Set-Cookie: cookie_check=yes; expires=Tue, 15-Nov-2016 03:39:49 GMT; path=/; domain=.paypal.com
,Set-Cookie: Apache=74.52.131.146.19071163821189571; path=/; expires=Mon, 10-Nov-36 03:39:49 GMT
,Connection: close
,Transfer-Encoding: chunked
,Content-Type: text/html; charset=UTF-8
,
,8
,VERIFIED
,0
,
Fri Nov 2006 21:39 -- IPN WARNING::Transaction email address not matched. From IPN = Webmaster AT FreeNetworkingInternational DOT com: From CONFIG = Webmaster AT FreeNetworkingInternational DOT com
Fri Nov 2006 21:39 -- IPN FATAL ERROR::Transaction did not validate
And on the success order screen I get no order #
http://www.freenetworkinginternational.com/snag3.bmp
-
Re: Paypal and Payment Problems
you know i just noticed the ipn is putting a : at the end of the email address... could this be the problem?
-
Re: Paypal and Payment Problems
nope then it won't let me send the payment... and there is no : in my paypal account settings...
Dare I say perhaps the script is incorrect somewheres...
-
Re: Paypal and Payment Problems
I am still at this end:
IPN WARNING::Transaction email address not matched. From IPN = [email protected]: From CONFIG = Webmaster AT FreeNetworkingInternational DOT com
That : in there is messing it up. I can't get around it. I have contact paypal and waiting on their reply.
I also wonder why I can not longer POST anywhere other than this thread..... That isn't very friendly. Seems alot of people have this issues and I can't talk to any of them....
-
Re: Paypal and Payment Problems
My Problem:: solved (possibly not your problem)
I was having a probleem a few pages back. It turns out that there was a change made to our apache configuration.
in the security mod config file, the setting to require a USER-CLIENT (browser version) must be turned off - the PAYPAY IPN process, when it contacts your site, does not transmit a browser (MOZILLA, for example).
Simply comment out the line in the config that contains this setting.
That's what worked for me, anyway.
-
Re: Paypal and Payment Problems
Thanks m,
That wasn't it. This line code doesnt exsist in my Apache.
-
Re: Paypal and Payment Problems
Here is another little funny bit. I installed CubeCart and low and behold the IPN works GREAT with it...
Someone here please talk to me...
-
Re: Paypal and Payment Problems
Paypal has opened a thread for my : problem. So I will keep ya'll posted.
-
Re: Paypal and Payment Problems
Quote:
Someone here please talk to me...
I sympathize -- but I can offer no help (I still haven't figured this out, either).
Quote:
Paypal has opened a thread for my : problem. So I will keep ya'll posted.
Is this a public forum? If so, perhaps you can post a link for us?
dustin
-
Re: Paypal and Payment Problems
Can't post a link as you must be logged in to my Paypal account to view it.
They came back with it is a ZenCart problem and not their issue.
So ZenGods... Any ideas why or what would return a : at the end of my email address?
Thanks!
Lee :)
:lamo:
-
Re: Paypal and Payment Problems
I've installed the paypal sessions viewer / stuck orders to push my orders into the database, but every time i try to click the button "Move to Orders Database" a white page comes up with the words "No Input File Specified."
Can anyone help? Am I missing something?
Thanks in advance. :)
-
Re: Paypal and Payment Problems
In Zen Cart v1.3.6, a bug (from v1.3.5) was fixed, which handles cases where you're using upper-case letters in your PayPal email address.
Quote:
I also wonder why I can not longer POST anywhere other than this thread..... That isn't very friendly. Seems alot of people have this issues and I can't talk to any of them....
If you are referring to archived posts in our archived section, those areas are read-only. To re-open a topic, create a new one, or find an already-open topic in our main discussion forums to continue discussion provided your situation is exactly the same as described in said post.
-
Re: Paypal and Payment Problems
Quote:
Can't post a link as you must be logged in to my Paypal account to view it.
They came back with it is a ZenCart problem and not their issue.
So ZenGods... Any ideas why or what would return a : at the end of my email address?
Thanks!
Lee :)
:lamo:
The : is a separator added during the display of debug output. It is not coming back from PayPal.
-
Re: Paypal and Payment Problems
the second cart this is not working on has an all lower case email address and I get the same thing.
-
Re: Paypal and Payment Problems
-
Re: Paypal and Payment Problems
They don't say anything else. I just get that email address not match error when it comes back from Paypal.
I don't know if you read the last few pages of this or not so I will repeat.
This site AnimalArt had a perfectly working Zen Cart for 4 months. I am the host. I changed NOTHING.
An order on 09/28 went perfectly.
The next order on 10/06 was the first time it broke.
Something between those dates was changed at Paypal. I am sorry but it is a simple matter of deduction. I don't know why Paypal won't help me.
But I am getting rid of them as a processor as soon as I can figure out how to make the Google Checkout work in there.
I am not the most all knowing programmer, but I am logical and sane.
Does anything sound ary to you?
-
Re: Paypal and Payment Problems
hello,
Im having the same problem. It was working properly before and then i started getting an email from Paypal stating that there is something wrong with my ipn url address. I didn't see anything wrong with it so i left it and then i just don't get anymore records when orders are made.
Im using version 1.3.5. If i upgrade to 1.3.6, will this get sorted?
-
Re: Paypal and Payment Problems
Quote:
Originally Posted by
Berserker
Im using version 1.3.5. If i upgrade to 1.3.6, will this get sorted?
By upgrading to v1.3.6, you'll at least have the known bugfixes applied.
That's all I can guarantee.
-
Re: Paypal and Payment Problems
Having the same issue with paypal. Customer places order, pays through paypal, is redirected back to site but the order# is blank. Zen cart does not log the order. ??
-
Re: Paypal and Payment Problems
Check via phpMyAdmin in your orders table ...
Do you see new orders?
Check your settings on PayPal ... it has been known to reset settings and cause issues ...
-
Re: Paypal and Payment Problems
i checked my cpanel error logs and i keep getting this error:
script not found or unable to stat: /home/domain/public_html/ipn_main_handler.php
the ipn_main_handler is the right place so i don't see what is causing the problem :(
-
Re: Paypal and Payment Problems
Ok, i just checked my site via ftp and found out that my ipn_main_handler.php is in this address: /home/domain/public_html/shop/ipn_main_handler.php
and not: /home/animestr/public_html/ipn_main_handler.php
i don't understand why in my error log, i keep getting this-
script not found or unable to stat: /home/animestr/public_html/ipn_main_handler.php
why is it calling the file in this address when it's supposed to be inside the shop folder? do i need to change anything?
-
Re: Paypal and Payment Problems
Go to Modules ... Payments ... PayPal ...
Save settings ...
Uninstall ... Reinstall ... Reconfigure ...
Check settings at PayPal website ...
What version Zen Cart are you running?
-
Re: Paypal and Payment Problems
Ajeh,
I have done that already and managed to get it working again. Im just worried that maybe the errors im getting are the reason why paypal contacted me and disabled the ipn notifications.
I don't want this to happen again as it seems very unprofessional to go asking the customers what they bought. do you think there is a problem with that error log?
-
Re: Paypal and Payment Problems
What version of Zen Cart are you running?
Clean install or an upgrade? If an upgrade, from what version and how did you do the upgrade?
Did you have to make any changes to the PayPal site?