Jump to content
liz5384

problem with Paypal Express Checkout 1.0 add on

Recommended Posts

Hello,

 

I tried using the Paypal Express Checkout 1.0 add on you can see here:

http://addons.oscommerce.com/info/7333

 

On step 2 of the instructions I don't understand what I need to do. See below text in red:

 

2) remove "checkout with paypal" button from shopping cart page :

 

comment below code found in paypal_express.php in includes/modules/payment:

 

function checkout_initialization_method() {

global $language;

 

if (file_exists(DIR_FS_CATALOG . 'ext/modules/payment/paypal/images/btn_express_' . basename($language) . '.gif')) {

$image = 'ext/modules/payment/paypal/images/btn_express_' . basename($language) . '.gif';

} else {

$image = 'ext/modules/payment/paypal/images/btn_express.gif';

}

 

$string = '<a href="' . tep_href_link('ext/modules/payment/paypal/express.php', '', 'SSL') . '"><img src="' . $image . '" border="0" alt="" title="' . tep_output_string_protected(MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_BUTTON) . '" /></a>';

 

return $string;

}

 

Where exactly do I go to remove "checkout with paypal" button from shopping cart page?

 

And what do they mean by "comment" below code?

 

I am a bit of a novice at this so if someone could give me simple step by step instructions on what to do, I'd really appreciate it.

 

Thanks

Share this post


Link to post
Share on other sites

If you are going to use paypal express, I suggest you use this one. In my opinion, paypal express should not be used, especially in older shops, since it has problems with some addons, like those that create coupons.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×