Mock objects for stubbing out Paypal - anyone have any?

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

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.

This might be worth a look -
http://blog.tammersaleh.com/articles/2007/02/13/mocking-a-network-resource-with-camping


James.