Sagepay返回3070:RelatedVPSTxId是必需的

时间:2014-09-26 11:13:06

标签: php sagepay

我正在尝试使用Sagepay服务器集成进行连续授权,但我一直收到以下错误:

3070 : The RelatedVPSTxId is required.

我已经完成了以前的付款,所有这些都很好,因此我存储了VPSTxId,SecurityKey,TxAuthNo等,我将其作为此REPEAT事务的参数传递,因此我无法理解为什么它不起作用。这些是我传递的参数:

VPSProtocol=3.0&TxType=REPEAT&Currency=GBP&Vendor=********&RedirectUrl=http%3A%2F%2Fwww.bbc.co.uk%2F&NotificationUrl=http%3A%2F%2Fbeta.mycarneedsa.com%2Fsagepay_notification&ReturnUrl=http%3A%2F%2Fwww.bbc.co.uk%2F&Description=MyCarNeedsA.com+membership+fee&AllowGiftAid=0&ApplyAVSCV2=0&Apply3DSecure=0&Profile=NORMAL&AccountType=E&Amount=14.00&BillingFirstnames=Joe&BillingSurname=Bloggs&BillingAddress1=1+Bridge+Street&BillingAddress2=&BillingCity=Chester&BillingPostCode=CH11NW&BillingCountry=GB&BillingState=&BillingPhone=01244123456&RelatedVPSTxId=%7B2857B5EC-3DF7-731C-9CE2-CBF3540E1EEB%7D&RelatedSecurityKey=ZIEHJFKFKJ&RelatedTxAuthNo=7895147&payment_id=50&VendorTxCode=MCNA140926122642-19738491&DeliveryFirstnames=Joe&DeliverySurname=Bloggs&DeliveryAddress1=1+Bridge+Street&DeliveryAddress2=&DeliveryCity=Chester&DeliveryPostCode=CH11NW&DeliveryCountry=GB&DeliveryState=&DeliveryPhone=01244123456&CustomerEMail=geoff%40google.com&VPSTxId=%7B2857B5EC-3DF7-731C-9CE2-CBF3540E1EEB%7D&SecurityKey=ZIEHJFKFKJ&TxAuthNo=7895147&AVSCV2=SECURITY+CODE+MATCH+ONLY&AddressResult=NOTMATCHED&PostCodeResult=NOTMATCHED&CV2Result=MATCHED&GiftAid=0&ThreeDSecureStatus=NOTCHECKED&Status=AUTHORISED&CardType=VISA&Last4Digits=0006&created=2014-09-26+11%3A51%3A21&updated=0000-00-00+00%3A00%3A00&CustomerEmail=geoff%40google.com

我在这个例子中用星星模糊了供应商名称,但是在我的实际帖子中设置正确

1 个答案:

答案 0 :(得分:0)

是的,我已经对它进行了分类!我通过一些不必要的变量发布了它,并删除它们使它工作!