Reinhard,
brilliant.. I will give that a try.

many thanks

Andrew
On 30 Nov 2004, at 15:30, Reinhard Poetz wrote:

Andrew M wrote:
How do chaps,
I will try my best to explain what i'm trying to do. Ok, I have a form which when filled out by a user is then submitted to a secure merchant account which checks the users credit card details:
1. flowscript:
cocoon.sendPageAndWait("confirmOrder.xml", {"artistID":artistID,"artist_name":artist_name});
//Check if payment is successful
if (creditcardpayment is ok){
cocoon.sendPage("confirmSuccess.xml")
}else{
cocoon.sendPage("confirmFail.xml")
}
2. form
<form action="https://www.merchant.com/merchant.dll/checkout" name="Form1" method="post">
<input type="hidden" id="return-url" value="${muUrl}"/>
<input type="hidden" name="continuation-id" id="continuation-id" value="${cocoon.continuation.id}"/>
Once processing is completed, the user is then redirected back to my website via the return-url. My question is this, how do I get back to the if statement following the sendPageWait? Is this possible?


Change the return url to

<input type="hidden" id="return-url" value="http://yourwebserver/${yourUrl}/${continuation.id}"/>

or something similar. The the flow will be continued ...

--
Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


<<inline: beya-email.gif>>


�+The home of urban music
+ http://www.beyarecords.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to