Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6837657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:30:11+00:00 2026-05-26T23:30:11+00:00

I have a payment button on a page that submits info to a payment

  • 0

I have a payment button on a page that submits info to a payment processor and on the same page there is a form with some custom fields that updates a contact info when u submit it.

Im using a jquery script that submits the payment button and at the same time POSTS the values of the form to the updatecontact php script.

But its not working, its not posting the values to the updatecontact php script.

Please take a look at the code below to see if u can discover what am i doing wrong.

http://jsfiddle.net/QunPb/1/

The URL where the code is: http://ofertasclaras.com/envio.php

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T23:30:12+00:00Added an answer on May 26, 2026 at 11:30 pm

    You’re trying to create a form that has multiple submit actions.

    cURL won’t work because then your server is posting to dineromail, not the visitor’s browser (Unless you actually want your server to make the purchase?) 😉

    Instead, use jQuery to add an ajax request to the form submit. By making the ajax request not asynchronous, it will complete that request before it submits to the form’s main action (dineromail) using “return true”.

    $(document).ready(function() {
      $('#dinero-form').submit(function() {
        $.ajax({  type: "POST", async: false, url: 'http://ofertasclaras.com/actualizar.php',
                  data: { email: $('#email').val(),nombrecompleto: $('#nombrecompleto').val(),  direccion: $('#direccion').val(), ciudad: $('#ciudad').val(), provincia: $('#provincia').val(), codigopostal: $('#codigopostal').val(), casaodepto: $('#casaodepto').val(), gelypilas: $('#gelypilas').val() }
        });
        return true;
      });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have simple aspx page that has a form and a input field in
I have a shopping cart page (Cart.aspx) that has a button that will (sometimes)
I have OnClientClick=return confirm('Make Payment?'); tied to an asp:Button. It works fine, however, prior
I have next tables Order , Transaction , Payment . Class Order has some
In an ASP.NET 3.5 site we have a relatively standard payment checkout progess that
Here's my scenario: I have one page that collects certain data from the user.
I used to have a Buy Now button that would go through PayPal, and
I have an XML document (an InfoPath form) that looks similar to this: <my:ClientMaintenance
I have a Python CGI handling a payment transaction. When the user submits the
I have written this code for add cart to payment. while clicking buttons that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.