Hi,
I've added webpart
SHOPPING CART and
PRODUCT DATALIST, then added some products.
These are the checkout steps I've selected:
This is the error I get after i click ORDER NOW:
Order wasn't saved. ([DataConnection.ExecuteQuery]: Query: INSERT INTO COM_Order ([OrderBillingAddressID], [OrderShippingAddressID], [OrderShippingOptionID], [OrderTotalShipping], [OrderTotalPrice], [OrderTotalTax], [OrderDate], [OrderStatusID], [OrderCurrencyID], [OrderCustomerID], [OrderCreatedByUserID], [OrderNote], [OrderSiteID], [OrderPaymentOptionID], [OrderInvoice], [OrderInvoiceNumber], [OrderDiscountCouponID], [OrderCompanyAddressID], [OrderTrackingNumber], [OrderCustomData], [OrderPaymentResult], [OrderGUID], [OrderLastModified] ) VALUES ( @OrderBillingAddressID, @OrderShippingAddressID, @OrderShippingOptionID, @OrderTotalShipping, @OrderTotalPrice, @OrderTotalTax, @OrderDate, @OrderStatusID, @OrderCurrencyID, @OrderCustomerID, @OrderCreatedByUserID, @OrderNote, @OrderSiteID, @OrderPaymentOptionID, @OrderInvoice, @OrderInvoiceNumber, @OrderDiscountCouponID, @OrderCompanyAddressID, @OrderTrackingNumber, @OrderCustomData, @OrderPaymentResult, @OrderGUID, @OrderLastModified); SELECT @@identity AS [OrderID] : caused exception: The INSERT statement conflicted with the FOREIGN KEY constraint "FK_COM_Order_COM_CustomerAdress". The conflict occurred in database "KenticoCMS", table "dbo.COM_Address", column 'AddressID'. The statement has been terminated.)
any suggestion?
THANKS :)