我一直在尝试实现 Sage Pay 的表单集成。每次我提交表单时,我都会收到错误代码:5080(错误描述:交易注册失败)。我尝试在 sagepays 网站中搜索错误代码(https://www.sagepay.co.uk/support/error-codes https://www.sagepay.co.uk/support/error-codes)但显然这个错误代码不存在。
如果我在 sagepay 的错误代码页中输入错误描述,而不是错误代码,那么我会得到以下结果截屏 https://i.stack.imgur.com/ouF5i.png
但是我的成功网址和失败网址都存在。
这里发生了什么?
Edit:
VendorTxCode=16-07-20-12-43-55-145161808&ReferrerID=&Amount=3,500.00&Currency=GBP&Description=Clarice Cliff SUNRAY LOTUS JUG C.1930&SuccessURL=http://test.co.uk/baskets/sagepay_success&FailureURL=http://test.co.uk/baskets/sagepay_failure&CustomerName=&CustomerEMail=&VendorEMail=&SendEMail=&eMailMessage=&BillingSurname=Tester&BillingFirstnames=Tester&BillingAddress1=Test Street&BillingAddress2=&BillingCity=London&BillingPostCode=TE14 1EE&BillingCountry=UNITED KINGDOM&BillingState=&BillingPhone=&DeliverySurname=Tester&DeliveryFirstnames=Tester&DeliveryAddress1=Test Street&DeliveryAddress2=&DeliveryCity=London&DeliveryPostCode=TE14 1EE&DeliveryCountry=UNITED KINGDOM&DeliveryState=&DeliveryPhone=&Basket=&AllowGiftAid=&ApplyAVSCV2=&Apply3DSecure=&BillingAgreement=&BasketXML=&CustomerXML=&SurchargeXML=&VendorData=&ReferrerID=&Language=&Website=
这是您的 BillingCountry 和 DeliveryCountry 字段 - 您应该使用 ISO 2 字符值。那里有“英国”——应该是“GB”。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)