On 8/24/07, Mooktakim Ahmed
<Mooktakim-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> Hello,
>
> I''m trying to go all REST of my application. But i''ve
come to one problem.
> How do i do payment, using IPN, in a RESTful way?
>
> right now i have an Payments controller. With 2 actions.
> action "new" shows a page with a paypal button.
> action "paypal_ipn" is where paypal sends its notifications.
>
> How would i go about doing this in a REST environment?
Don''t worry about it, not everything needs to be REST. Though, if you
really want to, I''d have paypal send a POST to /payments to create a
new payment resource.
--
Rick Olson
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---