112 Posts in 33 Topics by 52 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1193 Views |
-
Return URL

19 October 2010 at 9:11pm
Hi, I have been working on getting the PayStation gateway running, and am almost there, just having trouble with what the return url should be after a transaction has been processed by the gateway - currently i am trying sitename.co.nz/paystation/complete which is from the class in the PaystationHostedPayment.php file - however when the url gets passed to this with all the transaction string details on the end it gives me 'page not found'?
class PaystationHostedPayment_Handler extends Controller {
static $URLSegment = 'paystation';
static function complete_link() {
return self::$URLSegment . '/complete';
}The Paypal payment seems to use the same ie sitename.co.nz/paypal/complete and this works fine?
Any ideas?
thanks,
-
Re: Return URL

20 October 2010 at 9:19pm
Managed to sort this out (thanks to pointer from Bryan at Paystation), was missing the handler from the _config file in the payment folder....
PayStationHostedPayment_Handler::$URLSegment . '/$Action/$ID' => 'PayStationHostedPayment_Handler'
Good news is it all works perfectly now!
cheers
| 1193 Views | ||
|
Page:
1
|
Go to Top |

