473,395 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Google Checkout execute PHP code first.

344 100+
Hi,

1. I have add a Google Checkout "Buy Now" button on a HTML page, works fine.
2. I'm trying to access a MySql database as a customer click the Buy Now button.
3. I've put the a PHP code in a PHP page to access the database.

Now, I need to send parameters to the PHP code to be inserted in the database, the only way I know is to use a Form post or get.

The problem is Google use a From post to redirect the payment process, now the same Form can't have two post methods.

Any idea to solve the two post I want to do.

Thanks for your time.
Bassem
Mar 4 '10 #1
4 2273
zorgi
431 Expert 256MB
@Bassem
I never used Google Checkout but do you mind telling us why do you need to do that?
Mar 4 '10 #2
Bassem
344 100+
Hey,

Sure not. Thank you.

As customer pay for a service, customer select the service type and other inputs customer add. these data should be inserted into the database.

Thanks again
Mar 4 '10 #3
Bassem
344 100+
Hi,

I'm thinking that as Google post the form to redirect the payment process, I may post the form to the PHP code to insert data in the database, then redirect to Google to continue the payment process.

If this way is correct, I don't know how to post a form using a PHP code (the final redirect to Google), how to do it dynamically. How to simulate a submit button action in PHP.

Thanks for your help,
Bassem
Mar 4 '10 #4
Bassem
344 100+
I think I found it, I'm going to execute a JavaScript through the PHP and that what will submit the from at the end with the transferred parameters.

I will try that, and post.

Thanks,
Bassem
Mar 4 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mohan | last post by:
Hi, I am C# .NET learner. I wanted to do the checkout/CheckIn of the files which are under clearcase source control. Please let me know the procedure to checkout a file programmatically...
6
by: sales | last post by:
Hello, I am trying to get my website checkout page to rotate / take turns displaying shopping comparison engine surveys rather than display them all 4 at the same time, thus overwhelming &...
1
by: xahlee | last post by:
Elisp Tutorial: Make Google Earth Xah Lee, 2006-12 This page shows a example of writing a emacs lisp function that creates a Google Earth file, and creates a link to the file, as well a link...
2
by: suekinch | last post by:
What is the code to send mail/feedback back to the administrator of a site. The code I am using is coming up with an error saying SmtpMail 3 arguments. I also have issues transferring a...
0
missshaikh
by: missshaikh | last post by:
Hi All, Need Help. i m using Google CheckOut in my Site. I have 3 Products when i use deferent ship_method_name_# like (FedEx, 'UPS Ground, UPS Air ) then it will work fine. But when i...
1
by: jecha | last post by:
I'm implementing a shopping cart but am having a problem in checking out a person who has added item in his/her shopping busket.The code for the checkout.php script is given below <?...
15
gregerly
by: gregerly | last post by:
Hello, I once again turn to this community of genius' for some help with a problem. I've got a shopping cart (which is working well so far) that I will be implementing all kinds of AJAX...
2
by: Ksenia | last post by:
Hi, For website development, I am using SVN repository to commit the code from my development computer, and on the production server use svn checkout to update the code to the latest version....
6
omerbutt
by: omerbutt | last post by:
hi I nee d a little guidance regarding google checkout i searched it on google and it took me too a page where it asked me to login through google account and after logging in it was asking for my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.