Magento PHP Bugfixing / Magento expert needed

I developend an Action, which is called via AJAX to create an user (if not existing) and finishing his order.

This basically works great, for the first time. If i want to do another purchase within the same session, it fails.

at this point


<pre>SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`databasname/sales_flat_quote_payment`, CONSTRAINT `FK_SALES_QUOTE_PAYMENT_SALES_QUOTE` FOREIGN KEY (`quote_id`) REFERENCES `sales_flat_quote` (`entity_id`) ON DELETE CASCADE ON UPDATE CASCADE)

Please see code attached.

Looking for someone helping me out to fix this, payment will be only done when your bugfix/solution is really working. Please do only bid, if you have Magento coding experience (not themes only!!!)

Skills: Magento, PHP, Zend

See more: constraint `fk_sales_quote_payment_sales_quote`, session php, key coding, Magento PHP, magento ajax, bugfix, order working magento, ajax php update, 1452, integrity constraint violation 1452 add update add, magento 1452, add foreign key constraint, add update child row foreign, magento add update child row foreign key, integrity constraint violation 23000, magento checkout method, foreign key, magento integrity constraint violation 1452 add update child, integrity constraint violation update, create order magento, php action, action php, add update child row foreign magento, integrity constraint violation 1452 add update child row, 1452 foreign key constraint

About the Employer:
( 19 reviews ) Munich, Germany

Project ID: #1264838

1 freelancer is bidding on average $720 for this job


Hi I have experience in dealing with the clients across the world.I have earned 8 years working experience in developing the professional design with attractive approach in the latest technologies like Joomla, Word More

$720 USD in 15 days
(0 Reviews)