osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

paypal ipn with oscmax

This is a discussion on paypal ipn with oscmax within the Paypal forums, part of the Payment Modules category; So what is suppose to happen next. I have the same problem, but I am the person who is making ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion > Payment Modules > Paypal

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #11  
Old 07-08-2007, 11:15 AM
Member
 
Join Date: Apr 2007
Posts: 65
Thanks: 18
Thanked 1 Time in 1 Post
Rep Power: 2
justedee is on a distinguished road
Default Re: paypal ipn with oscmax

So what is suppose to happen next. I have the same problem, but I am the person who is making the purchase so I now I'm not pressing cancel.
I get the same email (as the owner of the site), I'm told I'm leaving the site (as the customer) and then I receive and error message (as the customer) Fatal error: Call to a member function on a non-object in /home/content/d/a/z/dazedangels/html/oscMAX2/catalog/includes/modules/payment/paypal_ipn.php on line 521
I will receive the error email for days (as the website owner) the customer doesn't know if the order has been placed, because they received an error. I do receive the order, but I need that error to actually lead to a page. What should happen? Where should it lead? What should the customer see?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 07-08-2007, 11:34 AM
Member
 
Join Date: Apr 2007
Posts: 65
Thanks: 18
Thanked 1 Time in 1 Post
Rep Power: 2
justedee is on a distinguished road
Default Re: paypal ipn with oscmax

Quote:
Originally Posted by michael_s View Post
If you are using Paypal IPN mod, it does not matter if they never return to your site.

That is what IPN is for. Regardless of customer actions, if they complete the sale at Paypal, then your shop will get an IPN notice of the sale, even if they never return to your site.
This may be true. However, I look pretty stupid every time they hit "complete your order confirmation" and they get an error message.

I know it's just one little detail that I'm missing.
~eDee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 07-08-2007, 11:52 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: paypal ipn with oscmax

Quote:
Originally Posted by justedee View Post
This may be true. However, I look pretty stupid every time they hit "complete your order confirmation" and they get an error message.

I know it's just one little detail that I'm missing.
~eDee
Your problem is different than being discussed in this thread, so you are a little out of context comparing your issue to the one I replied to.

This thread, there is no error message. I was merely explaining that if the customer completes the order and decides not to return to your site, the order will still be recorded in osCMax regardless. Nothing looks stupid about that, since there is no error, and it is a great feature.

See my reply to your other thread, and do not cross post your issue into multiple threads, it is against forum rules and bad form. This thread is about something else entirely, and your forking the thread is not helpful. Keep that in mind for future posts. It makes it easier for everyone.

My reply to your other post: PayPal Errors
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 07-08-2007, 02:34 PM
Member
 
Join Date: Apr 2007
Posts: 65
Thanks: 18
Thanked 1 Time in 1 Post
Rep Power: 2
justedee is on a distinguished road
Default Re: paypal ipn with oscmax

Quote:
Originally Posted by michael_s View Post
Your problem is different than being discussed in this thread, so you are a little out of context comparing your issue to the one I replied to.

This thread, there is no error message. I was merely explaining that if the customer completes the order and decides not to return to your site, the order will still be recorded in osCMax regardless. Nothing looks stupid about that, since there is no error, and it is a great feature.

See my reply to your other thread, and do not cross post your issue into multiple threads, it is against forum rules and bad form. This thread is about something else entirely, and your forking the thread is not helpful. Keep that in mind for future posts. It makes it easier for everyone.

My reply to your other post: PayPal Errors
Sorry, you misunderstood. I was just being a wise ass when it came to this comment.

As for the error:
I'm getting the same error email whenever an order is placed. Along with all the other stuff I posted, so it does apply.

This is what he posted and this is what I'm getting.
The Email error:

Subject: PayPal IPN Invalid Process

payment_date=13:28:09 Apr 18, 2007 PDT
txn_type=web_accept
last_name=my customer name
residence_country=DE
item_name=Sewing Pattern Supply
payment_gross=22.80
mc_currency=USD
business=Bob@WolfStarTradingPost.com
payment_type=instant
verify_sign=I censored this might be confidential
payer_status=verified
tax=0.00
payer_email=mycustomers@emailaddress.com
txn_id=4DC909999P3212506
quantity=1
receiver_email=Bob@WolfStarTradingPost.com
first_name=Iris
payer_id=KUTZZZZKXXTRW
receiver_id=TXXXYU5NF4PRC
item_number=
payment_status=Completed
payment_fee=1.19
mc_fee=1.19
shipping=0.00
mc_gross=22.80
custom=1
charset=windows-1252
notify_version=2.1

$_GET:

I'm getting the same error email whenever an order is placed. Along with all the other stuff I posted, so it does apply.

I have found that there are about 3 people on this site who know what they are talking about (you are one of them)
About 5 people who have had a problem and are nice enough to tell you what they did and then there are the rest of us.
If I want an answer I have found it is best to leave many replies on many different posts that way someone may see that something new has been posted and may help me out. If not, I may never find the answer. On this site it's all about the strategy (again smart ass comment! But many people agree with me)

~eDee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 07-08-2007, 04:07 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: paypal ipn with oscmax

eDee, strategy or not, cross posting is a violation of forum rules :
http://www.oscmax.com/forums/faq.php...faq_post_rules

I hate cross posting. It dilutes the content, makes things hard to find and wastes everybody else's time. It is very inconsiderate, and since we are all about being considerate to others, we don't cross post

Most times I will move your cross posts back to your original thread or if I am short on time, just remove the cross post altogether. Today, I felt like typing, so you get a lecture (lucky you)

I read just about everything posted on this site, and if I have time, I will get to your thread eventually. Also, if you want your post to come to the top of the listings, every now and then post a relevant update to it. That will bring it back to all of our attention without breaking any forum rules like cross posting.

Now, try what I suggest in your original thread and post your results to that thread. Whether my suggestion works or not, that is where your reply belongs.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16  
Old 07-11-2007, 09:47 PM
Lurker
 
Join Date: Mar 2003
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
rstarkey
Default Re: paypal ipn with oscmax

If you are having trouble with PayPal IPN on Godaddy hosting and keep getting emails with "PayPal IPN: Invalid", then it is curl settings in the ipn.php file. I am using OSCMax 1.7. Below is part of the coding in ipn.php ....
function authenticate($domain) {
$paypal_response = '';
$curl_flag = function_exists('curl_exec');
if($curl_flag) {
$ch = @curl_init();
@curl_setopt($ch, CURLOPT_URL, "https://$domain/cgi-bin/webscr");
@curl_setopt($ch, CURLOPT_POST, true);
@curl_setopt($ch, CURLOPT_POSTFIELDSIZE, 0);
@curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_response_string);
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
@curl_setopt($ch, CURLOPT_TIMEOUT, 120);
//BEGIN GODADDY FIX
@curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
//@curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
@curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
@curl_setopt($ch, CURLOPT_PROXY, "http://proxy.shr.secureserver.net:3128");
//END GODADDY FIX
$paypal_response = @curl_exec($ch);
@curl_close($ch);
if($paypal_response == '') $curl_flag = false;
}

Also, see See Using CURL - Help Center—Knowledge Base and FAQ
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to rstarkey For This Useful Post:
justedee (07-12-2007)
  #17  
Old 07-12-2007, 06:34 AM
Member
 
Join Date: Apr 2007
Posts: 65
Thanks: 18
Thanked 1 Time in 1 Post
Rep Power: 2
justedee is on a distinguished road
Default Re: paypal ipn with oscmax

EDIT: OH CRAP! I found it, fix already done. Still having the same problem, but thank you for your help.
***********************************************
I am using GoDaddy, but I'm not sure where or what to do with this code. I'm very new at programming. Do I need to add, delete, change? Help?
Will it matter that I'm using OSCMax 2. The other fix didn't help, commenting out the lines didn't help - I have higher hope for this, but how do I use it? What do I do?
~eDee


Quote:
Originally Posted by rstarkey View Post
If you are having trouble with PayPal IPN on Godaddy hosting and keep getting emails with "PayPal IPN: Invalid", then it is curl settings in the ipn.php file. I am using OSCMax 1.7. Below is part of the coding in ipn.php ....
function authenticate($domain) {
$paypal_response = '';
$curl_flag = function_exists('curl_exec');
if($curl_flag) {
$ch = @curl_init();
@curl_setopt($ch, CURLOPT_URL, "https://$domain/cgi-bin/webscr");
@curl_setopt($ch, CURLOPT_POST, true);
@curl_setopt($ch, CURLOPT_POSTFIELDSIZE, 0);
@curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_response_string);
@curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
@curl_setopt($ch, CURLOPT_TIMEOUT, 120);
//BEGIN GODADDY FIX
@curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
//@curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
@curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
@curl_setopt($ch, CURLOPT_PROXY, "http://proxy.shr.secureserver.net:3128");
//END GODADDY FIX
$paypal_response = @curl_exec($ch);
@curl_close($ch);
if($paypal_response == '') $curl_flag = false;
}

Also, see See Using CURL - Help Center—Knowledge Base and FAQ

Last edited by justedee; 07-12-2007 at 06:42 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
PayPal IPN in RC3 - values not being passed to PayPal? SavageSinister osCMax v2 Installation issues 3 02-12-2007 03:57 PM
Integrate PayPal Web Payments Pro -> osCMax v2.0 ganast osCMax v2 Customization/Mods 1 10-24-2005 01:19 PM
Tutorial on Setting Up PayPal IPN for osCMax v2.0/v1.7 uli_nyc Paypal 7 10-15-2005 10:52 AM
[Contrib] Standard PayPal for osCMax. Jonthebest osCMax v2 Customization/Mods 0 10-04-2005 08:02 AM
PayPal Subscriptions (recurring payments) in osCMAX? smbpbx osCMax v1.7 Discussion 0 01-22-2005 12:40 PM


All times are GMT -8. The time now is 10:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax