title: shopping cart using codeigniter cart library and try to integrate with pay you money
body: <p>i'm developing a shopping cart using codeigniter cart library and try to integrate with pay you money payment gate way. my question should i store cart session values in database before i'm redirect to pay you money payment website or should i store it in database after i redirect to success url after successfully completed the payment</p>