Paypal ipn from leetsoft

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.

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

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

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

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.

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 :slight_smile:

Ben

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 :slight_smile:

Ben

No Problem!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs