Forum: Ruby on Rails Mock objects for stubbing out Paypal - anyone have any???

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D5df9fcd7ef4c3c937435d7d6adeab2a?d=identicon&s=25 Greg Hauptmann (Guest)
on 2007-02-05 02:55
(Received via mailing list)
Hi,

Just wondering if anyone has already developed a mocking approach to
stub
out the Paypal interface so that one can test on an internal PC which
doesn't provide a means for PayPal to callback to your webserver?  (i.e.
once the app is deployed to the hosting provider it would then work as
PayPal could then hit the application with the specified URL).

Anyone already solved this?  What would be a good framework/means to
stub it
out?

Tks
Greg
391f7ae8dd8c10dc323b7fbfe55b71a2?d=identicon&s=25 monki (Guest)
on 2007-02-05 22:07
(Received via mailing list)
Though it does not explicitly answer your question you should checkout
Active Merchant.

http://home.leetsoft.com/am/

It has paypal support, but perhaps not exactly how you describe.

Should be a good point of reference anyway.
82a61255b4090da7d3619f870b0794dc?d=identicon&s=25 James Mead (floehopper)
on 2007-02-14 02:14
(Received via mailing list)
This topic is locked and can not be replied to.