Jun 22nd, 2006, 09:56 AM
Integrating online payment - resume flow
I am looking for pointers of how to integrate online payment into my flow.
I have a flow with a shopping cart. At some point a form is submitted to a payment provider's site. Payment is handled there and after a succesful payment transaction to user is redirected back to our site, to a url I can specify.
How can I resume the flow where the user left off?
Last edited by Kees de Kooter; Jun 22nd, 2006 at 12:49 PM.
Reason: more accurate title
Jun 23rd, 2006, 01:59 AM
Which flow repository do you use? I use the ContinuationFlowExecutionRepositoryFactory and have not yet found a way to send the correct callback url to my payment service. If you call externalRedirect the flowExecutionKey is included as an url parameter in the redirect.
Jun 23rd, 2006, 02:14 AM
I intend to use the same flow repository because that is the only way to provide proper back button behaviour right?
As a temporary workaround I can finish the flow with submitting the the payment provider. The only thing I want to show after the payment is done is a simple confimation page. So I could let the provider redirect to a simple spring web controller.
Jun 23rd, 2006, 08:42 AM
That is what I've been forced to do as well.