-
Jan 17th, 2013, 11:57 AM
#1
Does externalRedirect end Flow?
I've been trying to track down a problem for a few days now & I'm starting to go batty.
I have the following in a flow:
<view-state id="authorize"
view='externalRedirect:#{payPalProcessorService.re direct(flowScope.token)}'>
<on-render>
...
</on-render>
<transition on='done' to='confirm'>
<evaluate expression='flowScope.purchase.setPayment(flowScop e.payment)' />
</transition>
...
</view-state>
This redirects to PayPal to allow user to enter account info. PayPal then redirects browser to this state (using flowExecutionUrl to construct PayPal request).
But when the flow i9s resumed I see this in the log
DEBUG: org.springframework.webflow.mvc.servlet.FlowHandle rAdapter - Sending external redirect to 'https://www.sandbox.paypal.com/webscr?cmd=_express-checkout&token=EC-2AP85155T79940042'
DEBUG: org.springframework.webflow.mvc.servlet.FlowHandle rMapping - Mapping request with URI '//checkout/checkout-flow' to flow with id 'checkout-flow'
DEBUG: org.springframework.webflow.executor.FlowExecutorI mpl - Resuming flow execution with key 'e2s2
DEBUG: org.springframework.webflow.mvc.servlet.FlowHandle rAdapter - Restarting a new execution of previously ended flow 'checkout-flow'
DEBUG: org.springframework.webflow.mvc.servlet.FlowHandle rMapping - Mapping request with URI '/checkout/checkout-flow' to flow with id 'checkout-flow'
DEBUG: org.springframework.webflow.executor.FlowExecutorI mpl - Launching new execution of flow 'checkout-flow' with input null
For some reason, SWF thinks the previous flow has ended.
How's come?
--
Jonathan Rosenberg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules