on 2019 May 31 12:39 PM
While proceeding for payments and getting redirected to the payment provider's page i create order from the cnd the order process starts.
I need to check the status of payment even if the browser did not catch any response. I want to requery the payment provider after a certain amount of time, say 30 minutes. This check i wanted to include in order process. For this i need to induce a delay. I am not sure how to do that. Any help on how to do that?
I need some sort of delayer like they use in spring integration. Like:
<delayer input-channel="input" default-delay="3000" output-channel="output"/>
Request clarification before answering.
Hello Misra, I hope this piece of code will help you on delaying the order process. Here we are delaying 5 seconds to to make sure that the order was fully cancelled. You can use delay='PT30M' to match your scenario.
<event>waitBeforeDetectFullCancelOrder</event>
<timeout delay='PT5S' then='detectFullCancelOrderPostModificationAction' />
</wait>**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.