advanced workflow and online payment

benyamin jain asked on January 8, 2017 12:26

HI

Today i am playing around the advanced workflow. I think about how it is possible to made condition based on online payment result.

say we let live site user to create a new document and save it.after document saved we redirect customer to payment gateway to pay an amount of money and after that gateway redirect him to our website , if payment was successful then workflow process can forward it's way else document workflow step must be remain unchanged.

I know that it is possible using API but i want to know it is possible to do that with custom actions? if yes how?

Thank you

Correct Answer

Juraj Ondrus answered on January 9, 2017 14:37

Hi,
Yes, it should be possible to use custom actions steps in the advanced workflows. How to do it - this is completely up to you. You will need to create the logic in the code to check the payments and then execute the actions you need.

0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.