Forums / Developer / simulate header() call

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.