So Amaedeus Provide issue ticket and payment in same time if issue ticket filed payment also not recive and if payment fail then no issueing ticket example I Had make flight booking system.I use paypal paymen now what I do first I recept payment throw paypal and issue ticket now what I want receve payment and issue ticket in same time.If issuing ticket failed then payment does not recept
i need code in php to manage such things