473,387 Members | 1,493 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,387 software developers and data experts.

Problems with Paypal code

1
Hi,

I accept your advice to attempt to solve your problem yourself, and believe me I have been struggling over this for days...

I am trying to add lists to a page that allow the user to select the appropriate size option and then buy through Paypal with the appropriate pricing allocated.

I got one of these buttons to work on its own, but as soon as I added another, it all went wrong and I've tried to give the Functions unique names to overcome this.

The price is still reverting to 1GBP, but I can't see what I've done wrong. I've tried checking the code using Firefox JS console.

I'm using MacOSX Dreamweaver MX 2004.

This is the temporary page which shows what I've done so far. (I am v inexperienced so probably not very tidy!)

http://www.top-n-tails.co.uk/twobuttonssizeonly.html

Thanks for any help.

Mike L
May 13 '07 #1
4 1365
MMcCarthy
14,534 Expert Mod 8TB
Mike,

I am moving this to the HTML forum. They may move it on if they feel someone else can assist better.

ADMIN
May 13 '07 #2
drhowarddrfine
7,435 Expert 4TB
Yes, I believe this is a javascript problem.
May 13 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
Yes, I believe this is a javascript problem.
No problem I'll move it again. Thanks Doc.

Mary
May 13 '07 #4
acoder
16,027 Expert Mod 8TB
You need to put the numbers as string, e.g. 1.99 should "1.99"
May 14 '07 #5

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

Similar topics

0
by: Kev T | last post by:
Hi, OK Bare with me.New to php and trying to figure this out I trying to do the follwing. I have apage with a checkbox.. It posts to a new page to allow a user to make a paypal order. If...
1
by: Mike Kingscott | last post by:
Hi all, I have an app that allows users to upload files to my site, and then download them at a later date. Once the files have been safely uploaded, I wish to give them a download code to...
3
by: Stephane | last post by:
Hi, I'm trying to use PayPal and its Instant Payment Notification. In short, when a payment is made, PayPal send a post to my server and I post it back to PayPal. I'm using WebRequest to do...
2
by: Tommy | last post by:
I have written some code to use paypal for users to make purchases from my site. I am using the paypal instant payment notification. When i get the notification from paypal I send the user an...
5
by: Jason James | last post by:
Guys, it seems that several people have enquired about how to communicate with Paypal as securely as possible. It is obvious that placing the shopping cart details in the URL is about as...
3
by: Yourself | last post by:
Hi, I'm trying to post data to PayPal for a shopping cart, basically I want to replicate a form like the following, but create the variables dynamically from code behind: <form...
0
by: PayPal Security Measures! | last post by:
<P><A href="http://www.paypal.com/cgi-bin/webscr?cmd=_home" target=_blank><IMG src="https://www.paypal.com/en_US/i/logo/paypal_logo.gif" border=0></A</P> <TABLE cellSpacing=0 cellPadding=0...
1
by: MehtabKhan | last post by:
Any one who tell me what’s wrong with this code. When I pass values to pay pal by using www.sandbox.paypal.com/cgi-bin/webscr all the code are working well. The orders are generating accurately....
0
by: Nicodemus | last post by:
Do You Belive? \ cheapbbc@sina.com wrote in news:aecf26b6-4c75-4d87-b09c-a7380875e0f3 @w34g2000prm.googlegroups.com:
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.