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 8491375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:24:20+00:00 2026-06-10T22:24:20+00:00

this is my first question here…. So I run all IT related things for

  • 0

this is my first question here….

So I run all IT related things for a local entertainment paper and ad business.
We sell classified ads by the word both through mail from our paper and online.
Before I came they would simply have people put they’re ad info in, do they’re OWN math and then tell us how much they owe, a hassle they shouldn’t be going through. But what’s worse is they would just enter in they’re Credit Card info in a few input field which were then mailed to us when they submitted the form to our web hosts cgi system…… Terrible idea I know.

So far i’ve completely redone the website with php and have my form looking nice and neat, it does all word counting/math for the customer and then copies the end amount due from readonly fields into my hidden “amount” variable for the paypal buy it now button (Obviously we want to use paypal to recieve payments now..). My problem is that the button submits a form with the needed information to paypal which brings up the buy it now screen with the new price, but my other form needs to be submitted and emailed to me at the same time they go to paypal, I don’t need payment to be verified before I get the info I can just trash the ones that don’t pay.

Each form works perfectly when used independently, how can I have the info emailed to me and then submit another form to paypal so the price comes up? I’m new… but i have a great understanding of JS so if that’s the solution, great. Any help will be greatly appreciated.

In case it helps here is a link to the .php file containing the forms. I did remove the email and action information as well as our paypal business ID just because…. I don’t want random forms submitted to our email and I don’t want anything weird with paypal haha. Anyway heres the link http://www.whatzup.com/content/diningclub/classified2.php

My code is probably messy and unprofessional but I’m 17 and am learning as I go with this job and my boss knows that. With that in mind any pointers/tips on ANYTHING would be great. All the javascript in the top is either word counting stuff or something I was experimenting with trying to get this to work. I will put my final JS into it’s own file and include it in the header like i did the math file.

Edit:
I’m REALLY stumped here and if we can’t get this to work I’ll have to have the one form popup in a new window when they submit which tells them to go back to the other page and pay with Paypal… Which would be pathetically unprofessional.

  • 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-06-10T22:24:21+00:00Added an answer on June 10, 2026 at 10:24 pm

    If I understand correctly, the problem is that you want the customer to pay with PayPal and mail you at the same time? And then possibly send you an email when payment is complete.

    The simple way is to use a “success page” and a “cancel page” that the customer ends up on after payment is complete or cancelled.

    You can add this by editing the button, under advanced features:
    “Take customers to this URL when they finish checkout”

    Here you can also check “Add advanced variables” so you can add an unique identifier or email of the customer.

    On these two pages you can easily send your email.

    The correct way is to use Instant Payment Notifications (IPN) but I suggest you try the simple method first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first question here, and I will try to follow all the
First of all excuse me for my english. This is my first question here.
Greetings to all! This is my first question here on stackoverflow. I have a
This is my first question here on Stack Overflow. I generally find all my
this is my first question here so be gentle ! recently i try to
this is my first question here :) I know that I should not check
This is my first question here so try to make my best so you
Ok, I need help. This is my first question here. Background: I am working
this is my first question in here, and I would like to ask if
this is my first question on here. The question is simple - # this

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.