# Paypal ipn from leetsoft

**URL:** <https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481>\
**Category:** Rails\
**Created:** [June 26, 2006, 10:13am UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481 "2006-06-26T10:13:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregnewman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Post date:** [June 26, 2006, 10:13am UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481/1 "2006-06-26T10:13:58Z")

</div>

Has anyone had any luck with the paypal gem from leetsoft (Tobias  
Luetke)?  
I’m successfully sending off and making payments, but the ipn doesn’t  
send back to my site. I have the notify\_url set in the form, have a  
action set for the ipn postbacks, but all I get from my sandbox after  
payment is a “view shops” page from paypal after payment is made.

---

<div class="post-metadata">

**Author:** ![gregnewman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Post date:** [June 26, 2006, 10:25am UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481/2 "2006-06-26T10:25:38Z")

</div>

I just checked the development logs and nothing is getting posted back  
through the ipn.

---

<div class="post-metadata">

**Author:** ![gregnewman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Post date:** [June 26, 2006, 10:39am UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481/3 "2006-06-26T10:39:26Z")

</div>

Well… I’ve seemed to have solved this problem.

---

<div class="post-metadata">

**Author:** ![gregnewman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Post date:** [June 27, 2006, 5:24pm UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481/4 "2006-06-27T17:24:07Z")

</div>

On Mon, Jun 26, 2006, Greg N. wrote:

> Well… I’ve seemed to have solved this problem.

Could you tell us how, in case others have similar problems and your  
message comes up in a search?

Ben

---

<div class="post-metadata">

**Author:** ![gregnewman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Post date:** [June 27, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481/5 "2006-06-27T17:32:46Z")

</div>

Ben B. wrote:

> On Mon, Jun 26, 2006, Greg N. wrote:
> 
> > Well… I’ve seemed to have solved this problem.
> 
> Could you tell us how, in case others have similar problems and your  
> message comes up in a search?
> 
> Ben

Sure, it was an oversight on my part, partly…

On line 181 of the notification.rb file, there’s an example of how to  
capture the notification from paypal. It reads:  
notify = PaypalNotification.new(request.raw\_post)

When actually it should be:  
notify = Paypal::Notification.new(request.raw\_post)

I didn’t catch his typo until I traced the problem back and saw it was  
incorrect.

I looked further and the Readme file is actually correct.

---

<div class="post-metadata">

**Author:** ![gregnewman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Post date:** [June 27, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481/6 "2006-06-27T17:37:09Z")

</div>

On Tue, Jun 27, 2006, Greg N. wrote:

> On line 181 of the notification.rb file, there’s an example of how to  
> capture the notification from paypal. It reads:  
> notify = PaypalNotification.new(request.raw\_post)
> 
> When actually it should be:  
> notify = Paypal::Notification.new(request.raw\_post)

Good to know!

Thanks for the followup 🙂

Ben

---

<div class="post-metadata">

**Author:** ![gregnewman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/a9a28c/32.png) [@gregnewman](https://www.ruby-forum.com/u/gregnewman)\
**Post date:** [June 27, 2006, 5:48pm UTC](https://www.ruby-forum.com/t/paypal-ipn-from-leetsoft/64481/7 "2006-06-27T17:48:19Z")

</div>

Ben B. wrote:

> On Tue, Jun 27, 2006, Greg N. wrote:
> 
> > On line 181 of the notification.rb file, there’s an example of how to  
> > capture the notification from paypal. It reads:  
> > notify = PaypalNotification.new(request.raw\_post)
> > 
> > When actually it should be:  
> > notify = Paypal::Notification.new(request.raw\_post)
> 
> Good to know!
> 
> Thanks for the followup 🙂
> 
> Ben

No Problem!
