we have a function in angular which process a cc payment at [login to view URL], when the payment fails the function its working fine, however when the payment is sucessfull the functions is not printing the confirmation with the ticket number (this is the failing part).
we hope you can help us to track and debug this function.