Hi, Are there any differences between "One page" and "Quick" checkouts?
I am getting an exception for "one page checkout" as follows while "quick checkout" works correctly. The Following Errors Occurred: Did not complete the order, the following occurred:ERROR : Could not create order (write error :Error while inserting: [GenericEntity:OrderContactMech][contactMechId,10034(java.lang.String)][contactMechPurposeTypeId,PHONE_BILLING(java.lang.String)][createdStamp,2013-01-08 15:26:05.636(java.sql.Timestamp)][createdTxStamp,2013-01-08 15:26:05.569(java.sql.Timestamp)][lastUpdatedStamp,2013-01-08 15:26:05.636(java.sql.Timestamp)][lastUpdatedTxStamp,2013-01-08 15:26:05.569(java.sql.Timestamp)][orderId,WS10024(java.lang.String)] (SQL Exception while executing the following:INSERT INTO ORDER_CONTACT_MECH (ORDER_ID, CONTACT_MECH_PURPOSE_TYPE_ID, CONTACT_MECH_ID, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?) (Cannot add or update a child row: a foreign key constraint fails (`ofbiz`.`ORDER_CONTACT_MECH`, CONSTRAINT `ORDER_CMECH_CM` FOREIGN KEY (`CONTACT_MECH_ID`) REFERENCES `CONTACT_MECH` (`CONTACT_MECH_ID`))))). I went through "CheckOutHelper-createOrder" method. What I understand is that, all Email address against the user will be fetched and stored as "OrderContactMechanism". I have email address configured for "order confirmation" and "primary" purposes. What would have gone wrong here? Thanks in advance Winster T Jose Director - Technology and Architecture Chathurangam Creative Solutions Private Ltd. Cell: +91-98469 31020 Mail: [email protected]
