opayo - 无法测试 SagePay v4.0 集成
问题描述
以下请求不会导致 3DAUTH 响应(已启用 3D 安全):POST https://test.sagepay.com/gateway/service/vspdirect-register.vsp
VPSProtocol=4.00&Vendor=adventureworks&Currency=GBP&TxType=AUTHENTICATE&VendorTxCode=689359&Amount=158.00&Description=1%20x%20Membership;%20&Basket=1:Membership:1:131.67:26.33:158.00:158.00&CardHolder=Test%20Visa&CardNumber=4929000000006&ExpiryDate=0834&CV2=123&CardType=VISA&BillingFirstnames=Test&BillingSurname=TEst&BillingAddress1=88&BillingCity=london&BillingPostCode=412&BillingCountry=GB&DeliveryFirstnames=Test&DeliverySurname=Test&DeliveryAddress1=88&DeliveryCity=london&DeliveryPostCode=412&DeliveryCountry=GB&ClientIPAddress=10.13.10.191&BrowserJavascriptEnabled=1&BrowserJavaEnabled=1&BrowserColorDepth=24&BrowserScreenHeight=600&BrowserScreenWidth=800&BrowserTZ=0&BrowserAcceptHeader=text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3&BrowserLanguage=en-GB&BrowserUserAgent=Mozilla/5.0%20(Windows%20NT%2010.0;%20Win64;%20x64)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/76.0.3809.132%20Safari/537.36&ThreeDSNotificationURL=https://someurl.co.uk/join/callback3DSecure.asp&ChallengeWindowSize=02&CustomerEmail=test@test.com&contains=function(n)%20%7B%0D%0Afor%20(var%20i%20=%200;%20i%20%3C%20this.length;%20i++)%20if%20(this%5Bi%5D%20==%20n)%20return(true);%0D%0Areturn(false);%0D%0A%7D
试过了BrowserJavascriptEnabled='0'
,同样的反应。我究竟做错了什么?
解决方案
使用 CHALLENGE 作为持卡人姓名,您将获得挑战窗口。
使用 STATUS201DS 测试回退到 3DSv1。
编辑:
推荐阅读
- python - 如何让代码通过 str 输入读取数组的特定行
- visual-studio-code - VsCode多个光标在同一个变量上
- javascript - 三个 js 3d 模型加载器
- udp - 来自发送方的 iperf3 udp 静默间隙
- numpy - 文件路径的 TensorFlow 张量映射到 numpy 数据
- javascript - JavaScript 中对 v-treeview Vuetify 的“application/xml”响应
- flutter - 滚动到列表中的特定位置
- excel - 在 Excel 中更改工作表名称时如何使宏工作
- text-classification - 序列分类器也是 seq2seq 模型吗?
- sql - WHERE-IN 语句:对数据库执行 SQL 查询时出错:行值被滥用