I am using barclays payment gateway. there i need to pass a return url as we pass in paypal and the response is send with order id appended to the return url for example: i have set returnurl = https://www.example.com/barclays/success/ the payment gateway sends it as GET parameter as https://www.example.com/barclays/success/?oid=abc00001 and i am getting this error A PHP Error was encountered Severity: Warning Message: Missing argument 1 for Barclays::success() Filename: controllers/barclays.php Line Number: 154 i have a controller barclay with method success($oid) pls help ?
you need to pass $oid to Barclays::success() something like this Barclays::success($oid); Code (markup):
we just post the return url as https://www.example.com/barclays/success/ and it is from the barclays site that, the ?oid=adv001 is appended. now in the controller how to get this. i tried with passing parameter as $oid but it dint get it....