如何使用 hybris CIS 支付向网络资源发送捕获请求。以下是我正在使用的方法,但它给了我 102 作为响应代码,回复消息为
The following request field(s) is either invalid or missing: auth_request_id
当我登录到 EBCtest 时,我能够看到捕获请求,但它没有任何详细信息。
下面是我正在使用的代码,试图通过硬编码金额、交易 ID 和授权 ID 来捕获金额
CisPaymentRequest cisPaymentRequest=new CisPaymentRequest();
//cisPaymentRequest.setParameters(new AnnotationHashMap(getAnnotationHashMap()));
cisPaymentRequest.setAmount(new BigDecimal(58.55));
cisPaymentRequest.setCurrency("USD");
final CisPaymentTransactionResult captureResult = getCisClientPaymentService().capture(CLIENT_REF, "single",new URI("https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor?auth_request_id=831000"),"D99OZS1FU15J", cisPaymentRequest);