2014-09-26 67 views
0

我试图使用Sagepay服务器集成,使一个连续的权威付款,但我不断收到以下错误返回:Sagepay返回3070:该RelatedVPSTxId需要

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 

我已经模糊了供应商名称与此示例中星却是正确设置我的实际岗位

+0

您是否在'RelatedVPSTxId'字段中传递了空白值? – 2014-09-26 11:16:36

+0

没有它肯定是设置 – geoffs3310 2014-09-26 11:19:01

+0

捕获你发送给SagePay,并提供它在你的文章,请 – 2014-09-26 11:24:00

回答

0

AH我整理了!我通过一些不必要的变量来发布它,并且删除它们使它起作用!