Zen Cart Logo
Forums / PayPal Express Checkout support / Paypal checkout button

Paypal checkout button

Views: 1,674

Results 1 to 9 of 9
15 Feb 2012, 2:05 PM
#1
kazbryan avatar

kazbryan

New Zenner

Join Date:
Nov 2010
Posts:
19
Plugin Contributions:
0

Paypal checkout button

Hi,

I'm having a problem changing the Paypal checkout button on a client's Zen Cart site. I've changed the MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG declaration in /includes/languages/modules/english/payment/paypalwpp.php and it's fine on my local development version of the store, but after uploading the amend and the new image I'm not seeing any changes on the live store. I've double-checked the live code through both my FTP software and my hosting company's online FTP access and the change is live. I can't find anywhere else that declares - or overwrites - this constant, and I've used both my editing software and the Developer's Tool Kit to search for it.

I've tried the obvious things like a force refresh, and clearing my browser cache. Still no joy. Any suggestions/advice would be welcomed! The site is https://www.turnerscabin.co.uk and the button should be this version: http://www.turnerscabin.co.uk/images/btn_xpressCheckout.gif

Thanks in advance,

Karen

15 Feb 2012, 7:59 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Paypal checkout button

PayPal's TOS indicates that you should be using PayPal's buttons, served from PayPal's website, not copying them to your own site or altering them and hosting them on your own site.

20 Feb 2012, 11:30 AM
#3
kazbryan avatar

kazbryan

New Zenner

Join Date:
Nov 2010
Posts:
19
Plugin Contributions:
0

Re: Paypal checkout button

Unfortunately their button doesn't make it clear to my client's older customers that they can use their credit card to pay... and apparently they're losing some sales due to customer confusion, so what alternative is available to me? As I understand it PayPal Express is the best option as you don't have the potential of losing order information during the process.

20 Feb 2012, 11:45 AM
#4
kazbryan avatar

kazbryan

New Zenner

Join Date:
Nov 2010
Posts:
19
Plugin Contributions:
0

Re: Paypal checkout button

Also, as far as I'm aware there are other buttons available on their server. But to my understanding I'd still have to change the button declaration, so my query still remains of why this change isn't appearing on the live site but is on my development server. If I change the code to another PayPal served button then surely I'm still going to have the same question of why it's not working?

20 Feb 2012, 11:12 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Paypal checkout button

If you change the reference to another PayPal-served button, then the button will appear fine if the visitor has a working internet connection ... which of course is a reasonable assumption if they're visiting your live site over the internet. Your offline development server may have other problems if it's not actually connected to the internet or has firewall things blocking external access. But that's neither a Zen Cart nor a PayPal problem.

21 Feb 2012, 10:42 AM
#6
kazbryan avatar

kazbryan

New Zenner

Join Date:
Nov 2010
Posts:
19
Plugin Contributions:
0

Re: Paypal checkout button

I've tried changing the button to https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif and it's still showing https://www.paypalobjects.com/en_US/i/btn/btn_xpressCheckout.gif on the live site, which is what I suspected would happen.

So sorry to ask again, but what am I doing wrong when I am changing the reference in the /includes/languages/modules/english/payment/paypalwpp.php file. Once again, this is working correctly on my development server, but **not **on the live server - the reverse of what you are suggesting.

21 Feb 2012, 5:50 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Paypal checkout button

That tells me you've got an override version of the paypalwpp.php file on your server.

22 Feb 2012, 1:30 AM
#8
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Paypal checkout button

Unfortunately their button doesn't make it clear to my client's older customers that they can use their credit card to pay...

You could add a notice to the shopping cart page, (which is where the PayPal Express button appears), notifying customers that they can pay by credit card. The file to edit would be:

includes/languages/english/your_template/shopping_cart.php

And to the payment checkout page:

includes/languages/english/your_template/checkout_payment.php

24 Feb 2012, 9:30 AM
#9
kazbryan avatar

kazbryan

New Zenner

Join Date:
Nov 2010
Posts:
19
Plugin Contributions:
0

Re: Paypal checkout button

Thanks both of you.

DrByte: I've been thinking that myself but haven't a clue where it would be! Hence my frustration and confusion.

RescoCCC: I've had a chat with the client, and had discussed that possibility with them. They're happy to go with that route, so I'll follow your advice and edit those pages. Fingers crossed it all goes smoothly this time :)