www.webdeveloper.com
Results 1 to 3 of 3

Thread: Order form - how do I get it to submit it to me and paypal??

Hybrid View

  1. #1
    Join Date
    Mar 2012
    Posts
    10

    Order form - how do I get it to submit it to me and paypal??

    Hi everyone,

    So I'm really stuck with my order form that I'm trying to put together. It's a multi-step order form to help my customers build their wedding albums.

    You can see the form at http://www.joegilbertphotography.co.uk/album

    The form works fine, and as users select various options it adds it all up and shows them the total at the end, all fine.

    They then press submit and it sends the form over to me, again all fine.

    Now, what I want is for the "total amount" to then link to Paypal so they can pay for the order.

    I've used a similar script for a quick mock-up which you can see at http://www.joegilbertphotography.co.uk/album/test2.htm - again works fine, they press "donate" and whatever they've totalled up goes through to a paypal payment.

    Here's the dilemma: how do I get the form to both send itself to me and to go off to paypal??! I can get either the form action to go to a PHP file which emails the form to me, OR I can get it to go to Paypal and process the transaction, but how can I make it do both? Email the form to me AND go on to Paypal to process the payment?

    Thanks again!!

  2. #2
    Join Date
    Mar 2012
    Posts
    10
    any ideas anyone?

  3. #3
    Join Date
    Apr 2010
    Location
    Salem,Ma
    Posts
    623
    you could over ride the submit function, use an ajax call to submit the data to yourself , then allow the form to post itself to paypal

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles