Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with Paypal Express Checkout 1.0 add on


liz5384

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

Link to comment
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.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...