Paypal and Rails
Posted by jpb Sun, 25 Jun 2006 21:56:41 GMT
I was putting Paypal functionality into a Rails site I’m working on, using the paypal gem (which works great, btw), and ran into an annoying feature of the Paypal sandbox. I was looking at my sandbox Paypal transactions and they were all coming back “Pending” rather than “Completed”
It turns out that when you create a user in the Paypal sandbox for testing, if you only create a dummy bank account for it, any transactions you try to do with it will come back via IPN as pending, rather than completed. If you want your test transactions to come back with a “Completed” status, you have to add a fake credit card account to the sandbox user. I guess the fake banks don’t clear the echecks ;-).