Encore Forums Encore Forums

Knowledgebase  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

Pay Pal button and code

 
Logged in as: Guest
  Printable Version
All Forums >> [Product Forums] >> [Productivity Software] >> [PrintMaster 18.1 and older] >> PM Web Pages >> Pay Pal button and code Page: [1]
Login
Message << Older Topic   Newer Topic >>
Pay Pal button and code - 6/20/2008 11:07:28 AM   
lenagoldman

 

Posts: 7
Joined: 6/20/2008
Status: offline
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!

< Message edited by lindarobin -- 8/26/2010 3:27:30 PM >
Post #: 1
RE: Posting Pay Pal buttons on web site - 6/20/2008 11:31:26 AM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
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.

(in reply to lenagoldman)
Post #: 2
RE: Posting Pay Pal buttons on web site - 6/20/2008 11:35:11 AM   
lenagoldman

 

Posts: 7
Joined: 6/20/2008
Status: offline
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>

(in reply to lenagoldman)
Post #: 3
RE: Posting Pay Pal buttons on web site - 6/20/2008 12:35:32 PM   
lenagoldman

 

Posts: 7
Joined: 6/20/2008
Status: offline
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.
Post #: 4
RE: Posting Pay Pal buttons on web site - 6/20/2008 1:48:42 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
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.

(in reply to lenagoldman)
Post #: 5
RE: Posting Pay Pal buttons on web site - 6/20/2008 2:40:45 PM   
lenagoldman

 

Posts: 7
Joined: 6/20/2008
Status: offline
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!

(in reply to lindarobin)
Post #: 6
RE: Posting Pay Pal buttons on web site - 6/20/2008 2:56:35 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
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.

(in reply to lenagoldman)
Post #: 7
RE: Posting Pay Pal buttons on web site - 6/20/2008 4:27:13 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline


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.

< Message edited by lindarobin -- 6/20/2009 10:35:09 PM >

(in reply to lenagoldman)
Post #: 8
RE: Posting Pay Pal buttons on web site - 6/21/2008 10:50:51 AM   
lenagoldman

 

Posts: 7
Joined: 6/20/2008
Status: offline
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?

(in reply to lindarobin)
Post #: 9
RE: Posting Pay Pal buttons on web site - 6/21/2008 11:34:17 AM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
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.

< Message edited by lindarobin -- 5/17/2010 10:43:19 PM >

(in reply to lenagoldman)
Post #: 10
RE: Posting Pay Pal buttons on web site - 6/27/2008 11:01:07 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
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:




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.

Attachment (1)

< Message edited by lindarobin -- 6/27/2008 11:09:04 PM >

(in reply to lenagoldman)
Post #: 11
RE: Posting Pay Pal buttons on web site - 6/29/2008 1:00:39 PM   
lenagoldman

 

Posts: 7
Joined: 6/20/2008
Status: offline
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.

(in reply to lindarobin)
Post #: 12
RE: Posting Pay Pal buttons on web site - 6/29/2008 2:44:15 PM   
lenagoldman

 

Posts: 7
Joined: 6/20/2008
Status: offline
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.

(in reply to lenagoldman)
Post #: 13
RE: Posting Pay Pal buttons on web site - 6/29/2008 4:28:11 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
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.

< Message edited by lindarobin -- 6/29/2008 4:32:52 PM >

(in reply to lenagoldman)
Post #: 14
RE: Posting Pay Pal buttons on web site - 6/29/2008 6:20:06 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
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.

(in reply to lenagoldman)
Post #: 15
RE: Posting Pay Pal buttons on web site - 6/29/2008 8:54:06 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
Re: button placement

Where you are currently deciding your page layout for this:




Attachment (1)

(in reply to lenagoldman)
Post #: 16
RE: Posting Pay Pal buttons on web site - 6/29/2008 8:56:11 PM   
lindarobin


Posts: 947
Joined: 8/28/2004
Status: offline
May I suggest this?




Attachment (1)

(in reply to lenagoldman)
Post #: 17
Page:   [1]
All Forums >> [Product Forums] >> [Productivity Software] >> [PrintMaster 18.1 and older] >> PM Web Pages >> Pay Pal button and code Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Please Note: In order to post a message on the forums, you will need to become an Encore Forum Member. Click on the Register link on the top of this page and follow the instructions to become an Encore Forum Member.

If you are a new member and need help using these forums, please click on the FAQ link at the top of this page.

Forum Software © ASPPlayground.NET Advanced Edition 2.4

0.047