I think you should probably write a workflow to allow you to choose the type of payment you want to take.
The workflow would look at a radio select button (with multiple choices) then after the user continues makes the choice of which workflow to run next.
This would be triggered after confirm order but if you hit any obstacles you could create a new trigger after confirm order that allows you to hook the other workflows to.
A different approach would be to use the multiplexer to test for a variables (perhaps stored in the session variable) to decide on which workflow to run.
Of course both of these approaches would need you to create a workflow for payment by invoice instead of by card.
Your second suggestion seems like the best way to do it.
I didn't have the time to do this, but I managed to get it working with a radiobutton, setting a sessionvariable and a dirty fix in ezredirectgateway's execute function where I set the event_state and status manually.
Petter, how did you get the selection option and which files were needed to be edited in order for the end user to get an invoice emailed to them. I have a client now that is asking for PayPal or Direct Debit (invoice effectively) which sounds similar to your CC or Invoice solution. Can you explain?
Many thanks,
Mike Coker, BFA (Hons.)
Senior Designer & Strategist | Director
Quiqcorp Ltd | Web and Brand Development | Quiqcorp.com
You must be logged in to post messages in this topic!