IBM Support

how to handle asynchronous payment requests

Troubleshooting


Problem

how to handle asynchronous payment requests

Symptom

Most of the customers use asynchronous payment requests. This solution explains

  1. What is asynchronous payment requests
  2. How do we handle it in the product

Resolving The Problem

  • What is asynchronous payment requests

Threr are two ways of authorizing a payment type. One is to send the authorization request to third party and hold the order till it is verified.

The other way is to send a request third for payment type verification, but don't wait for to reply. Continue with order processing and only check the response from third part at the last step. In this case either a single request or multiple can be sent in batch mode. Latter option is more popular.

The second way of payment type verification is called as asynchronous payment processing and it is more commonly for obvious reasons. One doens't need to wait for third party response till the last step in order fulfillment processing and also, multiple requests can be sent at one time. This is very cost effective.

  • How do we handle asynchronous payment processing in the product?

We handle asynchronous payment processing in the Payment UE's. In the output of the UE (YFSExtnPaymentCollectionOutputStruct) we use following three attributes.

asynchRequestProcess = "TRUE"

authorizationAmount = 0.0

retryFlag = "N"

TranAmount = 0.0

 

Once we run payment api, payment status of the order goes to REQ_CHARGED / REQ_AUTHORIZED, depending on the confi settings.

 

 

 

     

[{"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

NFX4207

Product Synonym

[<p><b>]Severity[</b><p>];Normal;[<p><b>]Type[</b><p>];NormalFix

Document Information

Modified date:
16 June 2018

UID

swg21556979