Hybris 通过CIS支付捕获网络资源
如何使用hybris CIS payment向cybersource发送捕获请求。下面是我正在使用的方法,但它给我102作为响应代码,回复消息为Hybris 通过CIS支付捕获网络资源,hybris,credit-card,cybersource,Hybris,Credit Card,Cybersource,如何使用hybris CIS payment向cybersource发送捕获请求。下面是我正在使用的方法,但它给我102作为响应代码,回复消息为 The following request field(s) is either invalid or missing: auth_request_id 当我登录到EBCtest时,我能够看到捕获请求,但它没有任何详细信息 下面是我正在使用的代码,试图通过硬编码金额、交易id和授权id来捕获金额 CisPaymentRequest cisPaymen
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);
您发送的授权请求ID无效:auth\u request\u ID=831000 以下是有效授权请求ID的示例:5499176942776634304004
授权请求ID由CyberSource在对授权请求的响应中返回。下面是如何解决的- 我更改了url并更正了事务id 授权ID 旧的 正确- 事务id 旧版-D99OZS1FU15J 正确-55129681963160204007
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/831000"),"5512968196316020204007", cisPaymentRequest);