<code>01</code> <message>Invalid request</message> in telr Payment gateway in iOS swift5

杀马特。学长 韩版系。学妹 提交于 2021-01-29 06:22:33

问题


I am integrating Telr Payment in my App. After sending request to Telr (https://secure.innovatepayments.com/gateway/mobile.xml) it is returning start url for web view and everything is working fine , as per in this link then, I have given a second request, to complete the transaction, i.e. https://secure.innovatepayments.com/gateway/mobile_complete.xml

After navigating to the url of webview, I am calling this mobile_complete.xml api, by passing the following parameters. (Test mode)

<?xml version="1.0" encoding="UTF-8"?>
<mobile>
  <store>Store ID</store>
  <key>Authentication Key</key>
  <abort>Transaction code obtained in the WebView response</abort>
</mobile>

.But after hitting this api, I am getting the following error

<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n
<mobile>\n  
<auth>\n    
    <status>E</status>\n    
    <code>01</code>\n    
    <message>Invalid request</message>\n    
    <tranref>12345678</tranref>\n    
    <cvv>X</cvv>\n    
    <avs>X</avs>\n    
    <cardcode>VC</cardcode>\n    
    <cardlast4>1111</cardlast4>\n    
    <card>\n      
        <code>VC</code>\n      
        <last4>1111</last4>\n      
        <country>AE</country>\n      
        <first6>411111</first6>\n      
        <expiry>\n        
            <month>9</month>\n        
            <year>2020</year>\n      
        </expiry>\n    
    </card>\n    
    <ca_valid>0</ca_valid>\n  
</auth>\n  
<trace>4000/2941/5f59f736</trace>\n
</mobile>\n"

来源:https://stackoverflow.com/questions/63841493/code01-code-messageinvalid-request-message-in-telr-payment-gateway-in-io

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!