Professional Documents
Culture Documents
Billdesk Sheet
Billdesk Sheet
RU - Return URL
WO - Want Output
- "MType is used to moniter PG"
- "BilldeskPG" this is class used for PG
- "BILLDESK_WAP_RU" request URL page for billdesk.
- "BillDeskUrl" PG Url
- there two type of APP_TYPE given by PG are 1)WAP 2)WEB it is given by PG vendo
r.
- "AddLogService" object is used for loging data in DB.
- "PortalCheckSum" Sevice is used for checksum(Security) PG
- "TransactionService" Service is used to save or update transaction detail in D
B.
- Get Values from Previous Page assign to properties.
- Validated checksum for security purpose. eg-- Request.Form["txtPGCustCode"] =
oPortalCheckSumService.GetPortalCheckSum(oBilldeskPG.CUST_ID, oBilldeskPG.TXN_A
MOUNT);
- Form Pipe Seprated string as per requirement of PG using method "GetBillDeskEn
codedString".
Code Undestanding GetBillDeskEncodedString
- get value from config of BillDeskTypeField1,BillDeskTypeField2,BillDeskCurrenc
y
- get value of security Id and security Key.
- form pipe seprate string as per PG requirement.
- BILLDESK_WEB_KEY is added for security
- post pipe seprated string to PG DLL shared with us if it return true checksum
will be added to string.
- InsertBillDeskRequest by using this method data will be inserted in DB "common
portal"
- Finally request will be post to PG.
**BillDesk Responce page **
- "MType is used to moniter PG"
- We will recieve data in eg Request.Form["msg"]
- Assign value to properties from response "Msg"
- Get oldChecksum value by comparing "strArray.Length == 26" bcz in past msg len
gth was more than 26 so for safer side these check is added.
- Secret_Key is added accoding to merchant Id and then it is set in to string ar
ray
- SI value "PGSI" is replace by 1 if present else 0 two array is maintain strPro
cessedMsg and strFinalMsg this array carry same data which is recieved from PG
- strFinalMsg array is used for checksum and processed array is send to portal
- Finally request will be post to Portal.
** BillDesk-SI Request page **
-
- Class is intialized.
- catch data from previous page
- check EMIMode if null then add full EMIMode type
- check EMIMode if null then add full EMIMode type
- Validate CheckSum recived in request and generated using portal checksum servi
ce