spree/spree — pull request #2732 by gmacdougall (2013-03-21 22:03:33+00:00)
Title: Minor refactor: extract gateway order id to method

This will allow people to more easily override the order id passed
in to the payment gateway. It will behave the same for existing
functionality.

I want to override this in one of our extensions, and this will allow me to do so without as much code duplication.