Paypal button in iWeb site

any idea how to introduce a PayPal payment button into an iWeb site. Paypal give a section of HTML but i don't know how to apply it to the site i am creating for commercial use.

G4 Powermac & G4 Powerbook, Mac OS X (10.3.9)

Posted on Feb 16, 2006 9:32 AM

Reply
60 replies

Mar 8, 2006 6:26 PM in response to rsbent

Do you have a url that we can look at where you are trying to put the button?
The problem that we have as I see it is that iweb will overwrite any html code
that you put it the site for a paypal button when you republish etc.
I was able to place a paypal ADD TO CART and VIEW CART button by using
Dreamweaver and placing the code where I had inserted a marker while using iweb. But as I said, when you republish iweb it will not include the code etc.
The best way that I see to do it for now is to just set up a hyperlink on your site
to take the visitor to an external url (shopping cart etc.)
I have a lot of photographs that I will be including on my website for sale and would like to make the site as user friendly as possible and that's why I was trying to place the paypal button next to each photograph in my site instead of
sending the visitor to a shopping cart site that looks totally different from my site.
I think that I will wait for an update that will allow you to place code into iweb and then republish it etc.
Hope this helps
Dale

powerbook G4 15 inch

Mar 8, 2006 8:39 PM in response to Dale Tucker

Sorry about that....if anyone could visit my site and tell me how I can input the code into dreamweaver. I tried editing the code in Dreamweaver after I published the site to a folder. I inserted the button code from the Paypal.com website. Although, the donate button gets pasted someplace else on the Donate iWeb page (not where I would like it to be).

http://web.mac.com/bgcp/iWeb/BGCP/Help%20Donate%20Now.html

Also, would anyone know why my RSS isn’t working? IE on Windows isn’t recognizing it? ****’N PC!!!!

Thanks guys....

Dual G5 Mac OS X (10.4.5)

Mar 9, 2006 5:26 PM in response to rsbent

Hi,
I went to your site and found the code.

This is the line that you need to look for on your donate page.

div class="paragraph Body" style="line-height: 20px; margin-bottom: 0px; margin-top: 0px; text-align: center; line-height: 20px;">button goes here

When you get the code from paypal, just copy it and place it between the brackets >button goes here<

It should then show up on your page etc.
Be sure to refresh etc. when you visit the site.

The continue shopping on the paypal site should take you back to your page.

Hope this helps.

Dale<br>
powerbook G4 15 inch

powerbook G4 15 inch

Mar 9, 2006 6:30 PM in response to Dale Tucker

Here is my site, I have 3 paypal buttons on my site:

http://shatteredthought.com/ShatteredThought/Buy.html

What I did was this, in iWeb, where the buttons are located I put this text:

INSERTCODEFORBUTTONHERE

After I published to a folder, I used my html editor (BBEdit from Transmit) and Found that text, and replaced it with the appropiate code from Paypal.

As for your other question...RSS and IE (internet Explorer) do not mix!! They will need the new beta version of IE 7 to take advantage of the RSS feed, or can download an RSS reader from yahoo or other company. If they user firefox, or opera they can subscribe.

Basically, IE was behind on the times (I say was because the version that comes with Vista will support RSS Feeds) so for now they will need another browser.

They'll love firefox anyway.

Hope that helps you.

Mar 9, 2006 10:21 PM in response to abelg99

I had all of the above problems with paypal until I did the following:

Using dreamweaver (which you can substitute with another program), I created a table in the part of my page that I wanted the button to go. I then pasted the hml code in that table and voila! I could place the button anywhere on the page with no problems. Of course when your done, save the updated page under the same name, to the same file, and upload as you normally would. Keep in mind that you'll have to either repeat this process, or cut and paste the "new" table each time before you re-publish your site.

The biggest problem I had before; was that the button would show up on my page, but never where I pasted it, and it almost never worked. Until I did this, which by no means is an elegant solution, but it works for now. Quite frankly, if I were better at it, and had more time, I would just continue to use dreamweaver. But hey, we can't all be developers right?

Mar 18, 2006 4:59 AM in response to rsbent

Here's how I got a paypal button on my site at:

http://www.rowan-cottage.co.uk/Site/ShopBlog/ShopBlog.html

Go to Paypal and create your button. You'll get to a page with all the HTML needed. Copy this HTML.

Open a text box on your page the size of the button eg, 62 px by 31 px.

Type in the box some recognisable, unique text, eg, PaypalHTML, and change the font size of it so that's it fits in the tiny text box. You can horizontally centre the text or position it left or right, but don't vertically align it otherwise the text box changes into a png. You want it to remain a text box.

Publish.

Open the page in your text/HTML editor.

Find and replace the text 'PaypalHTML' with the actual Paypal HTML.

That's it. That way there's no alignment problems and it goes where you want it to.

You use the same principle with banners served by other parties, scripts etc. See my links page for more examples:

http://www.rowan-cottage.co.uk/Site/Links.html

I hope that helps.

Michael
http://www.rowan-cottage.co.uk

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Paypal button in iWeb site

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.