fixed shipping and payment trasaction into db