Step 3. Store and process payment in the controller