Official PayPal IPN Support Thread
#381
Posted 14 April 2005 - 10:55 AM
1. Install it (DONE!)
2. Go to Paypal, download certificate, that should give you a Private Key as well?
3. Add this into Admin panel
4. Add your own Information into it
5. It should work?
Many thanks
Rob
#382
Posted 17 April 2005 - 08:32 AM
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.
#383
Posted 17 April 2005 - 10:07 AM
sajiepaj, on Apr 13 2005, 08:29 AM, said:
I am still having problems with the Paypal module: when I process an order, the payment goes through fine, and the order shows up in admin, but the cart is not emptied when coming back to the checkout_success page. There is no IPN information available in admin either, and the order is set to pending. If I pay using cheque everything works fine.
I'm trying to get this sorted for someone else and I'm going nuts trying to figure it out.
I have other contributions installed: STS Template system and the Option Type Feature - don't even know if these are affecting anything or not
Hey, if someone can fix this I'll even sign up as a sponsor
URL: TLC Favours
Username: user
Password: password
Sara
PLEASE CAN ANYONE GIVE ME ANY SUGGESTIONS???!!! I really need to get this sorted, as the store cannot go live without it being fixed.
Sara
#384
Posted 18 April 2005 - 04:44 PM
sajiepaj, on Apr 17 2005, 06:07 AM, said:
Sara
Not sure if it makes a difference but... did ya try removing the password protection from the site?
#385
Posted 18 April 2005 - 05:46 PM
ifccnb, on Apr 18 2005, 04:44 PM, said:
Thanks for the suggestion, but someone else has exactly the same problem and her site is not password protected.
Sara
#386
Posted 19 April 2005 - 01:43 AM
I just read this entire thread. I especially studied the posts related to this one by zzfritz quoted below because I have getting the same error, i.e. "Fatal error: Cannot redeclare class order_total in /home/www/mystore/catalog/includes/classes/order_total.php on line 13"
I can't figure out from the posts on this whether it was solved or not and if so how. My checkout_Process.php is definitely not a virgin. It comes from a heavily modified version of Multi-Stores and it may be that it has some code in their to make authorize.net work and paypal to not work but I can't find it. I don't use authorize.net so I can take it out if I can find it, if that will fix my problem.
Any leads?
zzfritz, on Dec 6 2004, 10:57 PM, said:
Today I noticed the official contribution had been made, so I replaced all the files and installed it (after removing the old one, of course). Then I had someone test it, and the order went okay including the confirmation email, being listed in admin, and PayPal had the money. But she did not get returned to the confirmation success page, getting instead the error message:
Fatal error: Cannot redeclare class order_total in /home/sonnybar/public_html/osc/includes/classes/order_total.php on line 13
While I sleuth this myself, I am posting hoping perhaps someone else will recognize the symptom more readily and save me some time/frustration. I really don't believe there had been any other relevant changes to the site. But I don't see any differences between the old and new scripts that appear likely to generate an extra class declaration ... hmm ...
#387
Posted 19 April 2005 - 02:36 AM
I'm kind of a newbie so I'm kinda lost!
BIG THANKS TO ANYONE WHO HELPS!
Quote
Warning: main(DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE): failed to open stream: No such file or directory in /home/kemsit/public_html/index.php on line 150
Fatal error: main(): Failed opening required 'DIR_WS_TEMPLATESTEMPLATENAME_MAIN_PAGE' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/kemsit/public_html/index.php on line 150
#389
Posted 19 April 2005 - 01:24 PM
RR
zacarias2006, on Apr 19 2005, 02:56 AM, said:
HELP MEEEEE!!!
#390
Posted 19 April 2005 - 05:10 PM
Isn't there anyone here to help?
#391
Posted 19 April 2005 - 06:08 PM
Haitashi, on Apr 19 2005, 01:10 PM, said:
Isn't there anyone here to help?
hello,
how are you uploading?
what are the file permissions?
are all paths correct?
#392
Posted 20 April 2005 - 12:43 PM
I feel like I'm banging my head against a brick wall - I have made loads of posts trying to get my problem with the PayPal IPN module fixed, but I don't even get any response!
I can't believe there isn't SOMEONE out there who knows what's causing this:
I have Paypal contribution installed, along with the Option Type Feature and when I go through the checkout procedure everything appears to be all fine and dandy. BUT, when i am returned the the checkout_success page, there are all my goods still sitting in my cart. The payemt has gone through fine, the order is in admin and the order process email is sent. However, there is no IPN information available on the order details, and as I said the cart is not emptying after checkout. I have solved the problem that most people seem to have with getting the option text to appear in the email and admin sections.
Incidentally, I've come across someone who's having exactly the same problem, so it's not just me
PLEASE can someone help????
Sara
#393
Posted 22 April 2005 - 06:12 AM
korsh, on Dec 4 2004, 05:13 AM, said:
<td class="main" colspan="3" nowrap><?php
if ($selection[$i]['module'] == 'PayPal IPN') {
?>
<big><b>
Credit Card
<img src="images/logo_ccVisa.gif" alt="Visa" width="37" height="21" border="0" align="bottom" title=" Visa ">
<img src="/images/logo_ccMC.gif" alt="MasterCard" width="37" height="21" border="0" align="bottom" title=" MasterCard ">
<img src="/images/logo_ccDiscover.gif" alt="Discover" width="37" height="21" border="0" align="bottom" title=" Discover ">
<img src="/images/logo_ccAmex.gif" alt="American Express" width="37" height="21" border="0"align="bottom" title=" American Express ">
or
<img src="/images/banner_intl.gif" alt="PayPal" width="88" height="33" border="0" align="bottom" title=" PayPal ">
</b></big>
<br>
You do not need to be a PayPal member to pay by credit card.
<script>
document.writeln('<a style="cursor:hand" onclick="javascript:popup=window.open('
+ '\'http://www.mydomain.com/catalog/CreditCardExplain.htm\',\'popup\','
+ '\'scrollbars,resizable,width=625,height=800,left=50,top=50\'); popup.focus(); return false;">'
+ '<font color="blue"><u>[info]</u></font></a>');
</script><noscript>
<a href="CreditCardExplain.html" target="_blank"><font color="blue"><u>[info]</u></font></a>
</noscript>
<?php
} else if ($selection[$i]['module'] == 'Check/Money Order') {
?><big><b>Check or Money Order </b></big>
<img src="/check.gif" border=0 alt=" Send Us a Check " align="absmiddle">
<?php
} else {
echo '<big><b>' . $selection[$i]['module'] . '</b></big>';
}
?></td> and using CreditCardExplain.html from the contributions for a start I also changed the email notification in paypal_ipn.phphth James
This would be a wonderful solution to fix my dilemna, i want my customers to know that they do not have to open a paypal account to pay with their credit or debit cards (just like it was in the first module release, they could pay with credit card or they could log into their paypal account and pay that way)
could you please be more specific as to what lines you actually deleted to add the code you provided into the include_payment.php file
Thanks in Advance, also if anyone knows a fix for this please let me know as well
cheers
osck
#394
Posted 22 April 2005 - 03:40 PM
Dhananjaya, on Apr 19 2005, 01:43 AM, said:
I just read this entire thread. I especially studied the posts related to this one by zzfritz quoted below because I have getting the same error, i.e. "Fatal error: Cannot redeclare class order_total in /home/www/mystore/catalog/includes/classes/order_total.php on line 13"
I can't figure out from the posts on this whether it was solved or not and if so how. My checkout_Process.php is definitely not a virgin. It comes from a heavily modified version of Multi-Stores and it may be that it has some code in their to make authorize.net work and paypal to not work but I can't find it. I don't use authorize.net so I can take it out if I can find it, if that will fix my problem.
Any leads?
#395
Posted 22 April 2005 - 03:45 PM
Luckily I had backed up all my data! This is VERY important people, jeje. I restored my site and went over the steps again, slowly and not multitasking. I had all my focus is the editing taking all the time in the world.
Once I finished uploading everything, it worked! The only other issue I has was that at the moment of checking out the user got that following error that prevented him from completing payment:
“The seller accepts encrypted website payments only. You cannot pay the seller through un-encrypted buttons. Please contact your seller for more details.”
This had a simple solution:
a ) Go to http://www.paypal.com
b ) Log in
c ) Go to Profile
d ) Go to Website Payment Preferences
e ) Go to Encrypted Website Payments
f ) Check the radio button to off
g ) Click Save
LOTS OF LUCK PEOPLE, HOPE THIS HELPS!
This post has been edited by Haitashi: 22 April 2005 - 03:48 PM
#396
Posted 22 April 2005 - 03:49 PM
Fatal error: Cannot redeclare class order_total in /home/coffee4/public_html/test/includes/classes/order_total.php on line 13
I found that the Authorize.net consolidated code in checkout_process calls the order total class. I assume that since PP redirects back to this page, the program rereads this file from the beginning and gets stuck here.
#397
Posted 22 April 2005 - 05:21 PM
zerodash, on Apr 22 2005, 08:49 AM, said:
Fatal error: Cannot redeclare class order_total in /home/coffee4/public_html/test/includes/classes/order_total.php on line 13
I found that the Authorize.net consolidated code in checkout_process calls the order total class. I assume that since PP redirects back to this page, the program rereads this file from the beginning and gets stuck here.
Gregg/zerodash,
Do you have any specific solution of how to correct this, i.e. what line of code to replace with what on what page?
I am using a mod made by a guy who uses authorize.net so he probably has the authorize.net code in there that is causing the problem but I haven't a clue how to find it and remove it. Please give me a clue. I am in the meantime using 2checkout.com but would prefer to at least also have paypal as an option.
Thanks
Edward
#398
Posted 22 April 2005 - 07:00 PM
korsh, on Dec 4 2004, 02:13 AM, said:
....
contributions for a start I also changed the email notification in paypal_ipn.php
hth James
Yes James I second the motion for more specifics. Line 252 on my page is not the same it is on yours. Also, because I am not entirely sure what this hack will do, it would be great if you could explain and perhaps reference a url so that we can know how much we want this hack anyway.
Thanks for your help.
Edward
#399
Posted 22 April 2005 - 07:10 PM
sparky, on Dec 4 2004, 06:31 AM, said:
From the paypal dev guide
Hey Sparky,
What about the auto return feature. This is obviously the best way to insure sales are completed in osc. But they do require a url to activate this. And I do have multiple shops so I can't have all my auto returns going back to one url. Is the auto-return also built into your code so that I don't have to activate it on paypal? If it is, it isn't working on my shop so where did I go wrong?
Thanks
Edward
#400
Posted 22 April 2005 - 10:00 PM
Regarding:
Fatal error: Cannot redeclare class order_total in /home/.../.../catalog/includes/classes/order_total.php on line 13
The problem is gone in my store now and I think I know why.
I don't think it has anything to do with authorize.net; I have read some theory about his here no one has shown any code to back it up.
I just was re-reading around in this topic and came accross a post where Sparky explains that "You dont need to activate IPN on your account, by sending the notify_url with the payment IPN is automatically configured for your store."
I submit to you all that...
It isn't just that you don't need to activate IPN in PayPal; it is incompatible with this contribution and will break it if you do. The way this works is that you would either activate IPN and specify a IPN url in PayPal or you would accomplish the same via the code in your cart, i.e. this paypal mod. And as long as you are using this paypal mod then your choice is the later be defaul and if you also activate IPN in PayPal then you are setting yourself up for double declares, i.e. a redeclare and thus the error above.
Can anyone verify or refute this? In the meantime all I can is it works for me.
Edward

Sign In
Register
Help



MultiQuote