spree/spree — pull request #1991 by crystalneth (2012-09-19 04:58:28+00:00)
Title: Allow CreditCard to be used autonomously from Payment. 

Interface on PaymentMethod.create_profile was changed to create_payment_profile. This was to change from taking a Payment to taking a CreditCard (or other source) so that payment profiles can be created without a Payment.

Added user, bill_address, and payment_method to CreditCard and copy this data on successful Payments prior to creating a payment profile.

Please review and comment. Thanks!