1 reply [Last post]
PaulW's picture
Offline
Joined: 05/23/2008
Juice: 148
Was this information Helpful?

I have a workflow-ng that is that generates a .pdf file (via PHP code) containing event tickets when an order is submitted. The .pdf is generated OK and a dialog presents to download or print the .pdf file. When that dialog is closed, the system remains on the 'Submit' page rather than moving on to the 'Order Complete' page. If I again click the 'Submit' button I get a general error:

"We're sorry. An error occurred while processing your order that prevents us from completing it at this time.  Please contact us and we will resolve the issue as soon as possible."

Apparently my PHP code is impacting on the system's continuation to the 'Order Complete' page, but I haven't the foggiest idea how to address it. Would

<?php
$destination
= drupal_get_destination();
?>

be appropriate here? I would appreciate some insight from the experts!!

Thanks.

jmary's picture
Offline
Joined: 01/09/2008
Juice: 54
How did you proceed ?

Can i know how did you proceed to create the pdf via workflow-ng ?

--
Julien
http://www.progression-asia.com/index.php