Payseal is a payment gateway by ICICI
Here i am demonstrating simple steps to integrate payseal to your PHP website on a shared hosting.
1) You get following document from ICICI once you are enrolled for the payment gateway.
2)Upload these file to your webserver in the following structure to some folder and make that folder secure.
Upload the key file at your desired location.
BINGO!!! you are done.
DROP YOUR QUERY IN THE COMMENT AREA. I WILL BE HAPPY TO HELP.
Visit for - ICICI Payment Gateway Error Codes, Explanation and Solutions
Remote Computer Fix
Here i am demonstrating simple steps to integrate payseal to your PHP website on a shared hosting.
- a folder name Sfa
- a folder named Test pages
- sfa.properties file
- a word document a guide to how to integrate
- key file
2)Upload these file to your webserver in the following structure to some folder and make that folder secure.
Upload the key file at your desired location.
3) If you are a SSL merchant go to your testssl.php file and make the following changes in it.
4) Now go to your sfa.properties file and make a single change there(put the directory path to your key file).
BINGO!!! you are done.
DROP YOUR QUERY IN THE COMMENT AREA. I WILL BE HAPPY TO HELP.
Visit for - ICICI Payment Gateway Error Codes, Explanation and Solutions
Remote Computer Fix
Hi,
ReplyDeleteCurrently we are using ICICI payment gateway service for US and UK based customers in USD and GBP currency.
Our most of the transactions get failed (over 65%). sometimes the reason shows "rejected by switch" or "rejected by gateway" .
Since many payments are going through smoothly so system is actually working but we are not able to trace what could be the reason behind this huge number of declines. ICICI support is also useless, they too don't have any clue. I would like to check with you if there are some server parameters missing or you have any idea that could be of any help.
Thanks you.
Zafar
If still need any support, You can find more details and support for any Payment Gateway Integration related queries from iPistis Team
DeleteDear zafar ....you are missing no server parameters
ReplyDelete..its the policy of banks mostly in UK that they don't allow payment to a Asian gateway as this may have involment with terrorist activity
.so the only solution is that you ask your customer to call their bank and uphold such restrictions. Also get SSL for ur website.
ArthInfosoft is one of the most reliable firms for Payment gateway services in India that provide technical solutions to credit card transactions when a customer makes an online shopping and do the payment.
ReplyDeletePayment Integration Solutions
Hi,
ReplyDeleteCan I use this payment gateway to make money transfer from, Site owner's a/c to other user's a/c?
yes you may, but will have to apply for the facility additionally .
DeleteH can you please help regarding bth eintegration Of ICICI TestMoto MID as we are not able to modify the testmoto.php page ...
ReplyDeletePlease Help
Can anyone please tell me how to change the redirect url of cancel button on this payment gateway?
ReplyDeleteYou can edit your SFARespose.php page to go a certain url depending on the parameter received to SFARespose.php
Deleteplease tell me where should i change the url..
DeleteIs it necessary to SSL merchant?
ReplyDeleteNo , SSL is not mandatory . You can integrate Payseal with a non-ssl website also
DeleteThank you for response.
DeleteIf I will stuck in integration, I will post the questions.
I have download php code. But I am not getting sfa.properties in folder. And one more thing how can I get key file
Deletekey can be obtained by logging into your merchant account. there on the the side bar you can see "download the key". key can downloaded only once so be careful while saving it. you can get the .properties by calling on icici helpdesk on 18001021671
DeleteHi i want to track the transaction. so i have send Unique Order ID and Invoice number to Testssl.php page and 1 backup copy i have send on Reserve Field Ext 1.
ReplyDeleteBut the thing is how do i get the value in SFAResponce.php page.. my unique OrderId and Invoice number is stored i have check the ICICI Portal.
Can you please help ??
edit the following details--
Deleteon testssl.php
$oMerchant->setMerchantDetails - pass the value to your sfaResponse.php
on sfaResponse.php
$strMerchantId="your value here"; $astrFileName="absolute/physical path to your key file";
now you can use "print" or "echo" to display various value.
the variable for tarnsaction id is -- $TxnID
for more variables refer to ICICI payment documentation
Thank you for best & easy solution.
DeleteError Occured.
ReplyDeleteError Code:2
Error Message: No response From Payment Gateway or URL not Found
either the key has corrupted or the path to the key on the sfa.properties is worng
DeleteThis comment has been removed by the author.
Deletei'm also facing the same problem , same error key is there and correct path too .
Deleteeven i downloaded key again and checked again .
Kindly Make changes in PostLibPHP.php (Inside Sfa folder)on Line no 716
DeleteKindly change the slash on this line :- curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "\Sfa\cacert.pem");
For Linux it should be Forward slash curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "/Sfa/cacert.pem");
hi..
ReplyDeleteplease check if verbose meter is kept true:
and check for error_log..
:: or try the below steps ::
Kindly Make changes in PostLibPHP.php on Line no 716
curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "\Sfa\cacert.pem");
Kindly change the slash on this line :- curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "\Sfa\cacert.pem");
For Linux it should be Forward slash curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "/Sfa/cacert.pem");
see if this solves your problm...
Error Occured.
ReplyDeleteError Code:2
Error Message: No response From Payment Gateway or URL not Found
Key.Directory=/home/....../public_html/mg1/sbi/
you can check the above reply
DeletePlease Open Postlib.php , go line no 716 .
ReplyDeleteKindly change the slash on this line :- curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "\Sfa\cacert.pem");
For Windows it should be Backward slash curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "\Sfa\cacert.pem");
For Linux it should be Forward slash curl_setopt($ch, CURLOPT_CAINFO, getcwd() . "/Sfa/cacert.pem");
Hi,
ReplyDeleteI am PHP developer and having domain http://www.dnrds.com .I want to integrate ICICI payment gateway for my website,please guide me.
Regards
Prasenjit
Hi Please send me fresh code for payment gateway. I really need it.Its very urgent,mail me:
ReplyDeleteprasenjitmodak@gmail.com
Mobile: 9831569274
I want to add pay seal icici payment gateway with my client website using php but i am having problem in this. If anyone knows the solution then please help.Its very urgent.Please guide me.
ReplyDeleteRegards
Prasenjit Modak
prasenjitmodak@gmail.com
You need to apply for the gateway to ICICI bank. They will provide you with the Merchant Id and necessary documentation.
Deletei am new to the gateway integration.please help me to integrate i have designed the cart and collected all information from the user now on checkout button what i have to sent which page.in paypal we send email id in a hidden form and paypal processed it.
ReplyDeleteplease tell me how to do it with icici.my cart is ready with all user data i stuck at the when the user select the payment mode not COD than where to go.
if you have any example of cart integration please send it to me i will be very thankful to you.
lalit.rhombus@gmail.com
Hi,
ReplyDeleteI am getting following response after running TestSsl.php and filling card info on ICICI Merchant Services :-
Response Code:2
Response Message:No Suitable Acquirer Found
Transaction detail shows status as "Rejected By Gateway".
I am stuck on the above step. Please guide me to solve it.
Thank You
if it says "No Suitable Acquirer Found" then you have done the integration successfully. its only that your account in test mode. now you need to contact your bank and fill a form called as "mandate form" then you can get your account activate
DeleteThank you for your help. And have one more query that does "Rejected By Acquirer" also means the same?
DeleteMy key path is correct. but am also getting the error
ReplyDeleteError Occured.
Error Code:2
Error Message: No response From Payment Gateway or URL not Found.
what can i do?
you have to give the physical path to the key, like home/public_html/
Deleteurl will not do.
if you have put the key correctly then might be the key itself is wrong. You can call 1800 102 1671 and obtain keyfile
Hi How to integrate ICICI payment gatway in wordpress website ?
ReplyDeletePlease tell the steps to integrate ICICI payseal payment gateway in woocommerce wordpress website? - jasmine
ReplyDeleteHi can i run the testssl.jsp without placing in the root directory of my project
ReplyDeleteyes you can, unless the path to key file is configured properly
Deletehow to set absolute path of key on local system.....in sfa.property and Sfaresponse.php
ReplyDeleteis it right or wrong http://localhost/daily_purchase_new/icici/
absolute path will not include "http://".
Deleteif you are using a linux server then the absolute path will be like www/../daily_purchase_new/icici/
if you are using a windows server then the absolute path will be like inetpub/../daily_purchase_new/icici/
please arrange the file directory according to your setup
response code is 2
ReplyDeleteresponse message is invalid credentials
what is the reasons for this message
key file has got corrupted. Apply for a new key file by calling the gateway support.
Deletehow to applay new key files i have some error please sent step by step
DeleteMe also facing Same issue testssl.php and testmoto.php while running. How to fix this.
ReplyDeletecan anybody help to integrate icici payment gateway.... code
ReplyDeleteplease mail sample code and structure to krishna.gadgul@gmail.com
can anybody help to integrate icici payment gateway.
ReplyDeleteplease mail sample code and structure to krishna.gadgul@gmail.com
hi,Without registration at ICICI can we use payseal for payment integration as like we are doing in Paypal sandbox. The reason is we wan to test the service before registering and enrolling in this payment integration? so is ti possible or not?
ReplyDeleteError Occured.
ReplyDeleteError Code:2
Error Message:Invalid Credentials
how to fix this error please sent me devadash143@gmail.com and phone 9776380822 bhubaneswar
This comment has been removed by the author.
Deletehii,
Deletei am getting the same error.although i have made all the possible changes.
if you get the solution please tell me..
thnks in advance
@ w3 Technologies.....
ReplyDeleteUse Correct Merchant Id in sfa.properties and TestMoto or TestSsl file Key file and try transaction ...... for more contact at krishna.gadgul@gmail.com
hi,
ReplyDeleteim getting successsfull message as an array printed in SFAResponse.php and not returning to the confirmation page. how to fix this error?.... pls help me....
Warning: require_once(java/Java.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\icicidemo\testjava.php on line 14
ReplyDeleteFatal error: require_once() [function.require]: Failed opening required 'java/Java.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\icicidemo\testjava.php on line 14
i already done with above steps,
ReplyDeleteHelp me out.
Thanks in advance.
hi, I am inegrating this plugin for my website, how ever one of the folders(SFA) are still present in root. If I remove the folder from there the
ReplyDeleteplugin stops functioning. I have implemented the entire folder inside another folder where the other files exist. But I am not able to relocate that particular
folder. Please help.
Error Occured.
ReplyDeleteError Code:2
Error Message:Invalid Credentials
hello,
how can i get rid of this error.i am getting this error every time i procced to make payment.although i have made all the possible changes in payment integration pages..please help me out
i getting invalid credential error..plz tell me wt to do
ReplyDeletecheck ur key file and physical path to the key file
ReplyDeleteWhere I can find the installation and setup details
ReplyDeleteHi,
ReplyDeleteWhile accessing TestSsl.php, i am getting the following error.
Error Occured.
Error Code:2
Error Message:Invalid Credentials
What could be the cause for this? I am using apache server in ubuntu.
1,sfa.properties has
Key.Directory=/var/www/sitespecificfolder/public_html/key
OS.Type=UNIX
2,SFAResponse has
$strMerchantId="9604xxxx";
$astrFileName="/var/www/sitespecificfolder/public_html/key/9604xxxx.key";
3,TestSSL.php
$oMerchant->setMerchantDetails("9604xxxx","00002116","00002116","10.10.10.238",rand()."","Ord1234","http://sitename.com/New_PHP_SFA/sfa.properties","POST","INR","INV123","req.Sale","100","","Ext1","true","Ext3","Ext4","New PHP");
Should i add the key name in all three places "setMerchantDetails("9604xxxx","00002116","00002116",". Right now i have put it only in the first place.
My folder structure
------------------------
/var/www/sitespecificfolder/public_html/
/var/www/sitespecificfolder/public_html/key
/var/www/sitespecificfolder/public_html/key/9604xxxx.key
/var/www/sitespecificfolder/public_html/New_PHP_SFA
/var/www/sitespecificfolder/public_html/New_PHP_SFA/Sfa (and all the default files)
/var/www/sitespecificfolder/public_html/New_PHP_SFA/sfa.properties ( and response, testssl etc)
Any help is much appreciated. What am i doing wrong here?
plz help me out this error.
ReplyDeleteError Occured.
Error Code:2
Error Message:Invalid Credentials
Visit this link ICICI Payseal Error Codes and Their Solutions
ReplyDeletehi,
ReplyDeleteafter filling all the details of card, i click a pay button am getting like this what to do sir..
Response Code::
Response Message::
Auth ID Code::
RRN::
Transaction id::
Epg Transaction ID::
CV Response Code::
the variables on the SFAResponse.php file are not accepting the values/displaying values sent by the gateway. Plz check your method get/post.
DeleteHi Sir,
ReplyDeleteGood Evening!!
Am gettinng this below eroor please help me out this ...
Response Code:: 2
Response Message:: Card Bin Stop Listed
Auth ID Code::
RRN::
Transaction id:: 15917
Epg Transaction ID:: 201504251255359
CV Response Code::
nothing can be done here . The card is blocked by the bank for online transaction.
DeleteThen how can i test transaction?
DeleteHello Sir,
ReplyDeleteonce the test integration part is done than what we have to do sir...
we have to ask live code for bank guys or i have to implement this test code live..
waitning for your reply sir...
Thanks.
Contact bank technical team and tell we have done successful test please do further steps.
ReplyDeletehello sir,
ReplyDeletei have done in icici payseal integration test part and i got confirmation mail from icici what is next procedure to make it in live
hi,
ReplyDeleteis there any difference between GET and Post method for passing values in testssl.php??
because when i use get method its working fine.bt on using POST method it is showing invalid credential error..plz help me
Hi Sir,
ReplyDeleteI am getting below error while executing "TestSsl.jsp" ;
epg Error encountered. Error Code : 2 . Message Error while encrypting data. Transaction cannot be processed.
please reply fast i need help urgently
hi, when i run test.php file i get following error.
ReplyDeletejava extension not installed
Fatal error: Class 'Java' not found in C:\xampp\htdocs\Merchant_Site_Dir\test.php on line 29
I am using apache server. I dont know how to set up java with apache.
Please help me out in this. Thanks in advance
Error Occured.
ReplyDeleteError Code:2
Error Message:Internal Processing Error
can you please help me out this. suddenly i got this messege. Befor that everything is working fine...
ReplyDeleteError Occured.
Error Code:2
Error Message:Internal Processing Error
How To Update Transaction Status after Getting Responce Page
ReplyDeletewhen im clicking on conform order it is not taking me to payment page were i can put card details can you please help me out in this problem
ReplyDeleteMay be you are not providing the correct parameters.Send us the code of your TestSsl.php to info@cyberrafting.com.
Deletehi can i get your phone number
DeleteError Occured.
ReplyDeleteError Code:2
Error Message: No response From Payment Gateway or URL not Found
can u help me out
This comment has been removed by the author.
DeleteVisit Solutions to ICICI payment gateway errors
Deletemy MID is configured for accepting multi currencies. but gateway not accepting multi currency like GBP, USD and more.
ReplyDeleteICICI has stopped accepting other currencies, Though you can accept the equivalent exchange amount in INR but the currency will always be shown in INR on the payment page. This has been done stop the fraudulent with overseas customers.
DeleteHi sir,
ReplyDeleteThanks in advance…
I want to integrate ICICI Payment getaway for my PHP site.I want that first user fill a simple form like name, email and amount after this form submission user will redirect to ICICI payment gataway.I want to know what action=”” should i need to put on my form so that it redirect to payment gataway.
Please reply fast :)
hii
ReplyDeletePHP Java bridge setup require for ICICI Payment getaway integration in php ?
Your help is appriciated.
Thanks in advance.
How we can integrate ICICI EazyPay payment gateway in woocommerce wordpress website?
ReplyDeleteCan anyone help me on this...?
Anshul Have you got solution?
DeleteHi,
ReplyDeleteI want to integrate ICICI gateway on one of the my website. How can I start?
Website is in PHP.
Call me on 9699382604
DeleteHow we can integrate Easypay icici on woocommerce WordPress website any help?
ReplyDeletehttp://www.webzonal.com
ReplyDeleteHi
ReplyDeleteHi
ReplyDeleteI m integrating ICICI payment gateway.I created Form for that.but when I click on submit button I got following error:
SQLSTATE[28000] [1045] Access denied for user 'hatch1h7_ar'@'148.66.145.158' (using password: YES)Error Occured.
Error Code:2
Error Message:Invalid Credentials
What should be reason for that?
Hi after making some changes in integration kit I redirected to the blank page..what should be the reason? you can check: http://oscarfoundation.in/FINAL/TestSsl.php
ReplyDeleteplz give me some suggestion for this
We need some thing about the boom lift for rent division in india
ReplyDeleteI found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing..
ReplyDeletepayment gateway in qatar
India Classified Submission List
ReplyDeleteI recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. White Label Payment Service Provider
ReplyDeleteI am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. North American Bancard Agent Program
ReplyDeleteThank You and that i have a neat provide: Who House Renovation affordable home renovations
ReplyDelete