Paypal and Rails

Hi,
I create an order record with a status of in progress, if the IPN comes back I update the status to paid. If it doesn’t I now have a record of orders that were abandoned.

Your invoice numbers don’t have to be in sequence for paypal to work.

Regards,
John