ActiveMerchant Paypal IPN and RESTful design

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?

Thank you

On 8/24/07, Mooktakim A. [email protected] wrote:

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 O.
http://lighthouseapp.com
http://weblog.techno-weenie.net
http://mephistoblog.com

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