payu-intrepos / iOS-Custom-Browser

Easy to integrate, feature rich WebView wrapper facilitating payments for iOS apps
MIT License
4 stars 6 forks source link

sURL response nil #6

Closed surani444 closed 1 year ago

surani444 commented 5 years ago

This is payU response function

func payUSuccessResponse(_ payUResponse: Any!, surlResponse: Any!) {

}

payUResponse parameter have:

{"id":7648256671,"mode":"DC","status":"success","unmappedstatus":"captured","key":"4n3THI","txnid":"131280","transaction_fee":"330.00","amount":"330.00","cardCategory":"domestic","discount":"0.00","addedon":"2018-11-14 20:31:32","productinfo":"bus","firstname":"Amit","email":"amit.s@squareinfosoft.com","phone":"9924944405","hash":"b1e836c795432ddf3725158377ea1185e38275eb644e0d6abf9aa2b334cacf3d56d2f7933c6f7f137202854f34aa8ebc473c01931dacf22dd7960992274e50c5","field2":"598081","field5":"131831896125324","field6":"140121831896153374","field9":"Transaction Completed Successfully","payment_source":"payu","PG_TYPE":"UBIFSSPG","bank_ref_no":"831840027349","ibibo_code":"MAST","error_code":"E000","Error_Message":"No Error","name_on_card":"Surani Amitbhai Kana","card_no":"519619XXXXXX0225","is_seamless":2,"surl":"https://www.confirmtkt.com/paymenthandler/payu/surl-v2.php","furl":"https://www.confirmtkt.com/paymenthandler/payupaymentfailure.php"}

But surlResponse is always nil

amit-vivid commented 5 years ago

I am also facing this issue, getting surlResponse is nil. how did you solve this issue?