close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

PayPal extension not working on webpage

Thread began 3/24/2010 4:11 pm by lsaker395335 | Last modified 3/26/2010 2:52 pm by Ray Borduin | 1223 views | 3 replies |

lsaker395335

PayPal extension not working on webpage

I am very new to Dreamweaver, PayPal and web design/development in general. Am trying to add PayPal to a webpage, but it does not function. I have a PayPal account and worked through the wizard. Here is my code:

<p><strong>Please select only one item!</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal" id="paypal_order">
<p>
<label>
<input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_0" />
Website 50% Deposit</label>
<br />
<label>
<input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_1" />
Website Balance Due</label>
<br />
<label>
<input type="radio" name="RadioGroup1" value="radio" id="RadioGroup1_1" />
Website Payment in Full (optional)</label>
</p>
<p>
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" />
<input type="hidden" name="business" value="linda@pathtoweb.com" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="undefined_quantity" value="0" />
<input type="hidden" name="receiver_email" value="linda@pathtoweb.com" />
<input type="hidden" name="mrb" value="R-3WH47588B4505740X" />
<input type="hidden" name="pal" value="ANNSXSLJLYR2A" />
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="no_note" value="0" />
<input type="image" name="submit" src="http://images.paypal.com/images/x-click-but02.gif" alt="Make payments with PayPal, it's fast, free, and secure!" />
</p>
</form>

Thanks for help and PATIENCE!

Sign in to reply to this post

Dani Chankhour

It looks like you are missing two parameters:

<input type="hidden" name="item_name" value="Itemname" />
<input type="hidden" name="amount" value="2" />

the item name and the item price. once you add those to your form, the button should work correctly. Those fields should have been created when you clicked OK. One thing you can try is reentering the wizard by clicking on the paypal button in design view in DW and then open the Properties window (Window -> Properties) and click the edit button and make sure to specify a total and a name for the product.

Sign in to reply to this post

lsaker395335

Paypal services with varying costs vs items w/ fixed price

Thanks, Dani! I added these parameters, got it to work for the most part, other than some tweaking, but I am a little confused. The wizard indicates that these parameters are optional. My website offers services as opposed to tangible items and the costs vary, so I do not want to hardcode an actual amount. How do I get around this?

Sign in to reply to this post

Ray BorduinWebAssist

You could get the value from a recordset, session variable, or other source. I think the name is always required. The amount is required for a cart item, but can be blank for a donations button. The only way to get around all of the limitations is to use something like the WebAssist eCart.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...