Pay Pal button and code (Full Version)

All Forums >> [Product Forums] >> [Productivity Software] >> [PrintMaster 18.1 and older] >> PM Web Pages



Message


lenagoldman -> Pay Pal button and code (6/20/2008 11:07:28 AM)

I have been trying to post 'add to cart' buttons and 'view cart' buttons on my website from Pay Pal. The instructions say to copy the html code and paste on the space on my page where I want to button. The problem that I am running into is that it does not convert the html code into a graphic, even after I clicked the option to publish as graphic. Has anyone else run into this problem? How do I remedy? HELP!




lindarobin -> RE: Posting Pay Pal buttons on web site (6/20/2008 11:31:26 AM)

quote:

ORIGINAL: lenagoldman
... it does not convert the html code into a graphic, even after I clicked the option to publish as graphic...

Check the code they gave you. If it doesn't contain a hyperlink to an image file stored on the PayPal site, then that is the problem.

Post the code here so I can see it and then I can be more specific.




lenagoldman -> RE: Posting Pay Pal buttons on web site (6/20/2008 11:35:11 AM)

Here is the code they gave me
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="lenagoldman@yahoo.com">
<input type="hidden" name="item_name" value="Life's Crooked Path">
<input type="hidden" name="amount" value="8.00">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>




lenagoldman -> RE: Posting Pay Pal buttons on web site (6/20/2008 12:35:32 PM)

At the risk of being completely stupid. Do I copy and paste it into a hotspot or hyperlink? Because when I do, it says that URL is missing or invalid. When I copy and paste into a text box, it just turns out html code.




lindarobin -> RE: Posting Pay Pal buttons on web site (6/20/2008 1:48:42 PM)

You need to publish to folder in order to generate the required html files and save them on your computer. Then you open the index.html file with NOTEPAD and insert the code after the <BODY> tag. Save the changes. Now the index.html file is ready to upload to your web host.




lenagoldman -> RE: Posting Pay Pal buttons on web site (6/20/2008 2:40:45 PM)

Another question. You have been a GREAT help to me the novice! I saved my site to a folder, and opened it with Word Pad and inserted the code. Now, how do I upload the saved folder to my site? I really appreciate all you help with this!




lindarobin -> RE: Posting Pay Pal buttons on web site (6/20/2008 2:56:35 PM)

Did you test your site on your computer to verify that the added code works? ie. opened index.html with your web browser and test all the links.

If all looks good, the next step is to read your web host's instructions for uploading files. Most hosts have their own upload page where you can upload your files. Others allow you to use a FTP program.




lindarobin -> RE: Posting Pay Pal buttons on web site (6/20/2008 4:27:13 PM)

[image]https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif[/image]

The paypal button is in the code as:
https://www.paypal.com/en_US/i/btn/btn_cart_SM.gif
which can be seen above.

The reason you didn't see the button before was because you tried to put the code into the web project rather than the index.html file.




lenagoldman -> RE: Posting Pay Pal buttons on web site (6/21/2008 10:50:51 AM)

Is there any way to upload the saved folder into the Printmaster program so that I can see it on the page as I am working on my site? Or after it is saved to a folder do I have to upload it to the website using another FTP server not a part of Printmaster. Also, another question. How do I view it on my web browser from my folder?




lindarobin -> RE: Posting Pay Pal buttons on web site (6/21/2008 11:34:17 AM)

quote:

ORIGINAL: lenagoldman
...so that I can see it on the page as I am working on my site?

You should be previewing your project as you work. File| Publish... Preview Project.

quote:

...How do I view it on my web browser from my folder?

After you File| Publish... Publish to Folder double-clicking the index.html file inside this folder opens your browser.




lindarobin -> RE: Posting Pay Pal buttons on web site (6/27/2008 11:01:07 PM)

Hello again. As of today, I see that your Add to Cart button is over in the navigation bar. If you'd like to put the button under the book image, do this:

[image]local://upfiles/72/59DB5BFA68FE4269855238B0D432362D.jpg[/image]

BTW, how about using a larger image of your book? It's hard to make out what's on the cover at its current size.




lenagoldman -> RE: Posting Pay Pal buttons on web site (6/29/2008 1:00:39 PM)

Due to my busy schedule I have not had time to work on my site much. I re-did my page on my publishing program and made several changes. I wanted to make it easier to ad my 'add to cart' buttons for my products. YIKES! I don't know what I did, but my page is all messed up! It looks fine on my browser, but when I copied and pasted the page on my FTP file it was all messed up. I have tried everything I can think of to fix it.




lenagoldman -> RE: Posting Pay Pal buttons on web site (6/29/2008 2:44:15 PM)

Whew! Okay, I got the page cleaned up. I published from my program instead of my folder. Now I need to know how to position my 'add to cart' buttons. I want the book one under the book, and the CD ones beside each title. Yesterday my son and I tried every possible line and could never get the buttons exactly where we wanted them. I would appreciate any help I could get.




lindarobin -> RE: Posting Pay Pal buttons on web site (6/29/2008 4:28:11 PM)

quote:

ORIGINAL: lenagoldman
... how to position my 'add to cart' buttons. I want the book one under the book, and the CD ones beside each title.

This is the technique I would use to identify where in the generated code, I would add the paypal code.

Open up your web project to page 11. Draw a circle and put it where you want your button to be. Repeat for as many buttons as you need. Now publish to folder.

Open page 11 in your browser.

Right click on each circle, check the properties and write down the filename the program tagged it with.

Identify which button you will want to replace that with.

Now open the page 11 html file with NotePad and use the Edit Find command to find the filename in the document.

Replace the code IN BETWEEN the DIV tags with the appropriate paypal code.

ie. replace the <img src="_______"> code

Save the file. Refresh your browser to see your edits. If your code has no syntax nor type errors, everything should look great. Now you are ready to upload this "revised" html file.




lindarobin -> RE: Posting Pay Pal buttons on web site (6/29/2008 6:20:06 PM)

Note:

Whenever you make changes to a page, ESPECIALLY if you add, delete or move an image, you MUST publish to folder, redo any html code additions, and then upload every html file and image file that was affected by your changes. If it is difficult to identify these files, just upload everything even though that means uploading files that haven't changed at all.

Keep in mind that adding a single new image will cause the program to RENAME all image files from that one forward. So while "img00155.gif" used to be the image of a book, editing the page to include a new image will change the image of the book to "img00156.gif" or other name.

That means that if you upload the edited html file, but not the associated image files, your webpage will display the wrong images in the wrong places in the wrong size.




lindarobin -> RE: Posting Pay Pal buttons on web site (6/29/2008 8:54:06 PM)

Re: button placement

Where you are currently deciding your page layout for this:

[image]local://upfiles/72/5F1CF1C345A14BD5807010C7FFCB26BE.jpg[/image]




lindarobin -> RE: Posting Pay Pal buttons on web site (6/29/2008 8:56:11 PM)

May I suggest this?

[image]local://upfiles/72/D92A009C942A48408836E9C3E3E7906A.jpg[/image]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4
0.03125