Forums / Developer / simulate header() call

simulate header() call

Author Message

Andreas Adelsberger

Friday 26 January 2007 8:23:35 am

hi,

my paymentserver needs something like

header('Location: http://test.com/index.php?result=success');

but i want to call the approvePayment() which leads to contiueWorkflow() to go through the workflows.

my dirty workaround is calling
approvePayment()
and then
header('Location: http://test.com/index.php/mysite/shop/orderview/$orderID/?result=success');

so my question is can i simulate this header() call?

thanx

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.