我尝试使用Sagepay Server API执行交易。我已经通过模拟器供应商帐户正确设置并添加了IP地址。我仍然得到以下错误
Sage Pay返回MALFORMED状态。 POST格式错误,因为"模拟器无法找到您的供应商名称。确保您已提供供应商字段,并为其分配了供应商名称。"
这是我的POST请求数据
[VPSProtocol] => 2.23
[TxType] => PAYMENT
[Currency] => GBP
[Vendor] => curiouslabx
[NotificationUrl] => http://localhost:8080/numberplate/sagepay_notification
[Description] => Purchase of number plate AU59STG
[AllowGiftAid] => 0
[ApplyAVSCV2] => 0
[Apply3DSecure] => 0
[Profile] => NORMAL
[AccountType] => E
[Amount] => 700.00
[success_url] => http://localhost:8080/numberplate/payment/payment_status/success/
[failure_url] => http://localhost:8080/numberplate/payment/payment_status/failure/
[BillingFirstnames] => test
[BillingSurname] => test
[BillingAddress1] => test
[BillingAddress2] => test
[BillingCity] => testtest
[BillingPostCode] => test
[BillingCountry] => test
[BillingState] => test
[BillingPhone] => test
[DeliveryFirstnames] => test
[DeliverySurname] => test
[DeliveryAddress1] => test
[DeliveryAddress2] => test
[DeliveryCity] => testtest
[DeliveryPostCode] => test
[DeliveryCountry] => test
[DeliveryState] => test
[DeliveryPhone] => test
[VendorTxCode] => 14-04-30-20-10-53-572086512
我使用sagepay服务器库进行codeigniter https://github.com/ollierattue/codeigniter-sagepay-server/
答案 0 :(得分:0)
如果您正在使用模拟器,那么无论如何事情都是糟糕的。它不支持3.00协议 - 你需要在这个级别进行集成,否则你的集成将在31/7/15停止运行