spree/spree — Issue #1112: Credit card info lost when user goes back to shipping, order completes anyway.
Author: wemerson
Created: 2012-02-07 23:44:45+00:00
State: open

On edge version in development mode, when checking out if you get to payment and fill in credit card info, then go back to shipping, then return to payment, the card no. and exp date are blank. Clicking continue and confirming shows a successful order but the credit card info is blank in the database. !?! No validation errors appeared. Customers often go forward and backwards during checkout and they hate re-entering data, so this needs to work.

Perhaps there is no validation in development mode with the Bogus Gateway? Does this happen in production? Should there be javascript validation so it never hits the server?

I haven't worked in Spree for a long time so I am unfamiliar with some of the methods here so sorry if this is something obvious.