Redsys Payment gateway intergration Request

Generate Request with Redsys To setup Redsys payment gateway you must have DS MERCHANT MERCHANTCODE and MERCHANT TERMINAL . to make request you have to specify the transaction detail like amount , currency type and you also have specify 1 merchanturl: where redsys hit the response 2 merchant_urlok : page to redirect after successful transaction 3 merchant_urlko: page to redirect after error or unsuccessful transaction Use this code. Change the basic detail with your redsys merchant detail include 'redsys/ApiRedsys.php'; $miObj = new RedsysAPI; $GlobalsRedsys=Globals::getredsys(); $miObj->setParameter("DS_MERCHANT_AMOUNT",$europrice); $miObj->setParameter("DS_MERCHANT_ORDER",$order ); $miObj->setParameter("DS_MERCHANT_MERCHANTCODE",$GlobalsRedsys['DS_MERCHANT_MERCHANTCODE...