Welcome Guest, Not a member yet? Register   Sign In
how to grap value after ' ? '
#4

[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:Confuseduccess()
Filename: controllers/barclays.php
Line Number: 154
...[/quote]

I think no one can help you without seeing what are in these lines [150 - 160] Smile


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 Smile


Messages In This Thread
how to grap value after ' ? ' - by El Forum - 06-02-2011, 10:43 AM
how to grap value after ' ? ' - by El Forum - 06-02-2011, 12:16 PM
how to grap value after ' ? ' - by El Forum - 06-02-2011, 11:26 PM
how to grap value after ' ? ' - by El Forum - 06-03-2011, 01:05 AM
how to grap value after ' ? ' - by El Forum - 06-03-2011, 01:23 AM
how to grap value after ' ? ' - by El Forum - 06-03-2011, 01:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB