IBM Support

How to use AsynchRequestProcess feature through COM payment collection services like YCD_ExecuteCollectionCreditCard_Proxy

Question & Answer


Question

How to use AsynchRequestProcess feature through COM payment collection services like YCD_ExecuteCollectionCreditCard_Proxy

Answer

How to use AsynchRequestProcess feature through COM payment collection services like YCD_ExecuteCollectionCreditCard_Proxy

Details: AsynchRequestProcess is to enable payment collection asynchronously and to record the collection details within Sterling product.

Steps:
1) Pass back the following attributes from the custom service invoked by the YCD_ExecuteCollectionCreditCard_Proxy service.
paymentRoot.setAttribute("ResponseCode", "APPROVED");
paymentRoot.setAttribute("AsynchRequestProcess", "true");
paymentRoot.setDoubleAttribute("AuthorizationAmount", 0.0D); // Authorization amount is passed as 0
paymentRoot.setAttribute("AuthorizationExpirationDate", "20090528000000");// pass back the current date
paymentRoot.setAttribute("AuthTime", "20090528000000"); // pass back the current date
paymentRoot.setAttribute("sCVVAuthCode", "N");
paymentRoot.setDoubleAttribute("TranAmount", 0.0D); // TranAmount is passed as 0
paymentRoot.setAttribute("TranType", root.getAttribute("ChargeType"));
This will take the Charge record to CLOSED status with 0 amount charged.
2)When the external system reports the collection, recordExternalCharges should be run to record the Charge collection details.

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

HTG2482

Document Information

Modified date:
16 June 2018

UID

swg21563186