1

对https://iapi.iplatebnibrana.csob.cz/api/v1.8的付款 POST 请求

{
"merchantId":"A5043fIaNo",
"orderNo":"116",
"dttm":"20210529205317",
"payOperation":"payment",
"payMethod":"card",
"totalAmount":79,
"currency":"CZK",
"closePayment":true,
"returnUrl":{},
"returnMethod":"POST",
"cart":[
{"name":"Mezisou\u010det:","quantity":1,"amount":70,"description":""},
{"name":"Table Rate (Table Ra","quantity":1,"amount":9,"description":""}
],
"merchantData":"eyJvcmRlcklkIjoiMTE2IiwiY3VzdG9tZXJJZCI6IjIiLCJwYXltZW50IjoiY3NvYiIsInNlc3Npb250b2tlbiI6ImMyNTU5ZGJkZmFhZWZmMTAxOThiODQ1ODBjOWIxZDliNWM3ODNkZTU5ZWEwN2U2MWE3OTNhNjNkMzE3YWYzMTMifQ==",
"customerId":"2",
"language":"CZ",
"ttlSec":1800,
"signature":"jgjrvzL\/RifjtDcqFk8RFOeksg+zExfOgy0KQ8qfFYgoU01Qu7pVdaN3u6RPOc8r2gbusfHoaXns7FOTdufXF4Xe0wOLBt86d2wTI2+SRmip2oX0XRSP4l+cpOqdEUbadl5nNDfIjg\/lVKGExlWpqgEkA\/HBjjioUYcz9z77Ax\/zl+DKQAfqlFas64ttskUjN5+n5ZzzSWY8Rs+k2z3h5JHxuJkV9XKyj6FOzDOSPWa8OuZfqDm4d6BIY2VAl1Jt2gyx4wPbNSCcNRmUnJcx5G2DhFImPRWWEFhjjgNw7+7WJKae+KizVPQbvXFYZygqHoHFlYVeLYYrlm768zwPgQ=="
}

给出奇怪的没有记录的错误响应。见官方维基

{"resultCode":900,"resultMessage":"Internal error"} 

带有 http 返回码 500

怎么了 ?

4

1 回答 1

1

支付网关在支付卡使用后不知道返回何处。

您必须在付款请求中填写 returnUrl 字段

"returnUrl": "https://put.shop.url.to.process.payment.response.here",

进入支付网关。

在此处输入图像描述

于 2021-05-29T19:57:43.397 回答