【问题标题】:Sagepay returning 3070 : The RelatedVPSTxId is requiredSagepay 返回 3070:需要相关 VPStxId
【发布时间】:2014-09-26 11:13:06
【问题描述】:

我正在尝试使用 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

在这个例子中我用星号掩盖了供应商名称,但它在我的实际帖子中设置正确

【问题讨论】:

  • 您是否在RelatedVPSTxId 字段中传递了一个空白值?
  • 不,肯定设置好了
  • 捕获您发送给 SagePay 的内容,并在您的帖子中提供,请

标签: php opayo


【解决方案1】:

啊,我已经整理好了!我似乎通过一些不必要的变量发布并删除它们使其工作!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-01-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-02-20
    相关资源
    最近更新 更多