katy Posted October 22, 2013 Share Posted October 22, 2013 Hello Larry,I'm following procedures detailed in your book and have a question about customers:Is my understanding correct that during checkout, the personal info entered by the customer (assuming first time customer) is saved to the database and quickly retrieved prior to --and to be used in-- submitting payment to the gateway?What happens when a customer fills-out the personal info form, submits it before final payment and then decides to abandon the cart/purchase without completing the payment part? His/her info is already in the database as a customer who did not buy anything?Hope I'm making sense and please correct me if I'm wrong. Thanks, Katy Link to comment Share on other sites More sharing options...
Larry Posted October 24, 2013 Share Posted October 24, 2013 Hello Katy. Assuming you're talking about the second example, then no, the customer info is saved in the session, then passed to the payment gateway, then stored in the database. Link to comment Share on other sites More sharing options...
H. E. Pennypacker Posted December 25, 2013 Share Posted December 25, 2013 I must be missing something here. In the second example, it seems to me that the order is: 1) the customer is added to the database in checkout.php. 2) then the order is added to the database in billing.php 3) next the payment gateway is accessed also in billing.php 4) and finally a transaction is added to the database also in billing.php. Can someone help clarify? Link to comment Share on other sites More sharing options...
Larry Posted December 31, 2013 Share Posted December 31, 2013 I'm sorry if I wasn't clear enough or screwed this up before. Yes, the customer is added to the database in checkout.php and everything else happens in billing.php. Link to comment Share on other sites More sharing options...
Recommended Posts