My current code is:
<?php
...
if (!isset($backend))
{
$return_page = $order->payment_method->receipt_page;
if ($return_page)
Phpr::$response->redirect(root_url($return_page->url.'/'.$order->order_hash).'?utm_nooverride=1');
else
throw new Phpr_SystemException('Redirection receipt page is not found.');
} else
Phpr::$response->redirect(root_url('/shop/orders/payment_accepted/'.$order->id.'?utm_nooverride=1&nocache'.uniqid()));
...
?>
But looking in the docs i see no reference to the receipt_page property.
This currently redirects to this: http://{Order Hash}?utm_nooverride=1
Any ideas?

Help













