Forums / Built-in Shipping and Payment Modules / Which file to install Paypal button?

Which file to install Paypal button?

Locked

Views: 2,152

Results 1 to 16 of 16
This thread is locked. New replies are disabled.
11 Mar 2009, 12:27 AM
#1
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Which file to install Paypal button?

Hello,

I want to edit paypal button source code which already installed. Which file and path I can find it?

Thanks in advance.

11 Mar 2009, 1:31 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Which file to install Paypal button?

hara:

Hello,

I want to edit paypal button source code which already installed. Which file and path I can find it?

Thanks in advance.

Ha,
The easiest way is to lay the mouse pointer over the image and right mouse click

  1. click properties
  2. Now we know the name of the .gif or .jpg
  3. or grab the alt text mouse over hover on top of the picture
  4. results are:
  5. Click here to pay via PayPal Express Checkout
  6. use the technique to find the source file: https://www.zen-cart.com/tutorials/index.php?article=39
  7. and edit

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

11 Mar 2009, 1:57 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Which file to install Paypal button?

If you plan to make changes, make sure you're not breaking PayPal's TOS regarding buttons.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Mar 2009, 9:47 PM
#4
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Which file to install Paypal button?

Hello,

I created a Paypal Express_checkout button on Paypal account.
I enabled Paypal on Zen-cart admin.

So how can I install the button code into Zen-cart file(s) for displaying the right button?

thanks in advance.

28 Mar 2009, 9:50 PM
#5
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Which file to install Paypal button?

This is not about installing buttons, but installing and configuring the appropriate PayPal payment module.

There are plenty of places that offer advice. Look in the FAQ and the WIKI... and search for other posts in the forum.

And on PayPal's site, you would only need to "create buttons" for a website that is not e-commerce.

Zencart has Paypal MODULES which you need to install and configure.

29 Mar 2009, 12:41 AM
#6
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Which file to install Paypal button?

I created paypal's express-checkout button codes from my paypal account.

So which zen-cart file should I install the codes in?

Thanks for help in advance.

29 Mar 2009, 2:45 AM
#7
rjgonzalez avatar

rjgonzalez

Zen Follower

Join Date:
May 2008
Posts:
155
Plugin Contributions:
0

Re: Which file to install Paypal button?

What are you trying to accomplish with the button? what is the site? what are you promoting?

I will help if I can, Winners Design Studio

29 Mar 2009, 2:47 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Which file to install Paypal button?

I created paypal's express-checkout button codes from my paypal account.

So which zen-cart file should I install the codes in?
You do not need to add any code to use PPExpress....

Just enable and configure the Express module

admin > modules > payment > PayPal Express Checkout > install > enter your details

Zen-Venom Get Bitten

29 Mar 2009, 7:37 PM
#9
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Which file to install Paypal button?

I created three different paypal buttons for my three sites each.
I want to appear one on:
http://www.XXXX.com/index.php?main_page=shopping_cart

I don't know how to put the button code on. Actually I don't know which zen-cart file should I edit.

30 Mar 2009, 1:49 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Which file to install Paypal button?

Zen Cart doesn't work that way.

If you want to use Zen Cart and PayPal on the same page, go to your Zen Cart admin, and turn on your desired PayPal module, and configure it. Then the PayPal option will automatically appear during checkout.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Mar 2009, 10:46 PM
#11
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Which file to install Paypal button?

kobra:

You do not need to add any code to use PPExpress....

Just enable and configure the Express module

admin > modules > payment > PayPal Express Checkout > install > enter your details
this will go to default button. I want to use selected button (I created 3 buttons for my three different sites).

Paypal tech support give me this code to replace:
<input type="hidden" name="lc" value="CN">

I'm not sure if I can edit it and how in:
includes\modules\payment\paypal.php

30 Mar 2009, 10:58 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Which file to install Paypal button?

hara:

Paypal tech support give me this code to replace:
<input type="hidden" name="lc" value="CN">
Zen Cart will set LC = CN automatically if your store is using CN as the currently-selected language.
There is no need to edit any code in Zen Cart.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Mar 2009, 11:19 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Which file to install Paypal button?

this will go to default button

Paypal tech support give me this code to replace:
<input type="hidden" name="lc" value="CN">

First scrap that code -- as DrByte explained, it is not required

Next right click on the default image button and select properties.
Note the path and image name.

Rename your custom button EXACTLY the same as the default and upload it to the noted location.

Now your custom button will be displayed

Zen-Venom Get Bitten

30 Mar 2009, 11:35 PM
#14
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Which file to install Paypal button?

kobra:

First scrap that code -- as DrByte explained, it is not required

Next right click on the default image button and select properties.
Note the path and image name.

Rename your custom button EXACTLY the same as the default and upload it to the noted location.

Now your custom button will be displayed

I can't. The button image is located in paypal server:
https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif

30 Mar 2009, 11:39 PM
#15
hara avatar

hara

Zen Follower

Join Date:
Sep 2008
Posts:
397
Plugin Contributions:
0

Re: Which file to install Paypal button?

DrByte:

Zen Cart will set LC = CN automatically if your store is using CN as the currently-selected language.
There is no need to edit any code in Zen Cart.

I tried. Actually not. Paypal button doesn't follow Zen-cart charset setting.

30 Mar 2009, 11:39 PM
#16
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Which file to install Paypal button?

Learn to right click & copy

Zen-Venom Get Bitten