[eluser]DeaD SouL[/eluser]
Hi,
I've done online payment before for one of my clients,,
when initialize the request to the payment gateway they will give you some parameters including the $oid (I think)
so, in your response page instead of sending them the success url as
Code:
https://www.example.com/barclays/success/
and failed page as:
Code:
https://www.example.com/barclays/failed/
try to send them one page
Code:
https://www.example.com/barclays/result/($oid)/
and in your result page, you can get and check the $oid by
Code:
$this->uri->segment(3);
if you didn't want that... you can still send them
Code:
https://www.example.com/barclays/success/($oid)/
[quote author="nancy" date="1307051030"]...
and i am getting this error
A PHP Error was encountered
Severity: Warning
Message: Missing argument 1 for Barclays:
uccess()
Filename: controllers/barclays.php
Line Number: 154
...[/quote]
I think no one can help you without seeing what are in these lines [150 - 160]
Advice:
since you can not debug what is happening in the response page, I recommend you make a method to save everything in a log file, so you can check it and debug your code.. (this is only for the development environment)
Good-luck