Skip to content

Latest commit

 

History

History

order-processing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Order processing

Charge the buyer, wait for seller approval (with a reminder timer), then ship. If shipping exhausts retries, refund.

With the sample server running:

http://localhost:8080/products/order-processing/start
http://localhost:8080/products/order-processing/approve?workflowId=<flowID>
http://localhost:8080/products/order-processing/describe?workflowId=<flowID>

Start returns after ChargeStep completes. Pass testFailAtShipping=true on start to exercise the refund path after approval.