Multi Page How to?

clinton 23 Mar, 2010
Hi,
I've been struggling with this for a while now and I can’t seem to get it working. I’m at a point were giving up sounds good.
Some help would be awsem, ok my problem. I have a rather lengthy form so I split it up using multi page, but at the end of the form I would like a payment to be made, only when the payment is confirmed I want the user to receive the confirmation email.
Now I’m working with this piece of html,

<input type="hidden" name="cmd" value="_xclick">

<input type="hidden" name="business" value="paypal@site.com">

<input type="hidden" name="return" value="http://www.yoursite.com/download.html">

<input type="hidden" name="item_name" value="join">

<input type="hidden" name="item_number" value="99">

<input type="hidden" name="amount" value="25.00">

<input type="hidden" name="no_shipping" value="1">

<input type="hidden" name="cancel_return" value="http://www.yoursite.com">

<input type="hidden" name="no_note" value="1">

<input type="image" src="http://images.paypal.com/images/x-click-but5.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">

But I have no idea where to put this as putting it on the last step of the multipage form doesn’t work.
I also tried directing all the data to another form (Payment) after all steps have been completed I want all data to be submitted to my single page form (Payment). I put the URL in the onsubmit of every page and the onsubmit of the mother form but it doesn’t seem to direct the data there.
I would really like to get this working, is there anything I need to buy to get the PayPal working.
Can someone please direct me in the right direction?

Regards
Clinton
GreyHead 23 Mar, 2010
Hi clinton,

Use the Redirect plugin to handle the PayPal redirection. Someone posted on using this with the multi-page plugin in the last week or so. I think you need to enable the plugin on the last page or the mother form.

I reccomend that you test the plugin on a stand-alone form before doing the integration though.

Bob
clinton 23 Mar, 2010
Hi Bob,
Thanks for the help i'l have to try this,
Just another quick question if you dont mind, how can i get data from say form1 and use it in the email that say form2 sends.
If using the redirect plugin i am seeing the data visible in my url, thats not very secure i dont want this, Using the "Submit URL:(The form's "action" URL)" worked perfectly with a 1 page form but im not having the same luck with a multi page form.

The DB conection seems fine in the motherform all fields are there, is there somway i can use the motherforms details in my "form2" ?

Thanks Again.
This topic is locked and no more replies can be posted.