Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

PayPal Plugin calling tep_href_link - function not found


Recommended Posts

I'm running the latest code as of 10/29/16 and am trying to install the paypal v3.2 module. I'm running into an issue however, in that it's calling function tep_href_link, and near as I can tell, that function doesn't seem to exist... well... anywhere anymore. I'm seeing references to it in the 2.2rc2a readme changelog, but a grep of the codebase can't find the function. I had to manually insert the osc_configuration parameters, or the paypal module completely failed to be loaded on the Legacy->Modules->Payment screen. Once I copy the 4 PayPal files into the respective target locations, I see the Install Module tab correctly increments by one (from default of 3 to 4) but then I hit the problem with the module at:
Call to undefined function tep_href_link() with /catalog/includes/modules/payment/paypal_standard.php on line 980

$test_url = tep_href_link(FILENAME_MODULES, 'set=payment&module=' . $this->code . '&action=install&subaction=conntest');

To fetch the code for my install I just did a get clone of the repo. I fetched the codebase for 2.3.4, 2.3.3,4, 2.2rc2a, and 2.2rc2 tags as well... recursive grep of those tags is also failing to find the tep_href_link function, so I'm completely baffled!

What am I missing here??? Has the function been renamed or deprecated?

Link to comment
Share on other sites

It looks like you're using the latest development source code from out Github repository which is for v2.4.0beta.


This release series will not work with existing modules for v2.3.x - a compatibility module is planned though and will be release in a short while.


If you'd like to stick to the v2.4.0beta development code, try the latest source code from the PayPal App for v2.4 at https://github.com/haraldpdl/oscom2_app_paypal

:heart:, osCommerce

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.

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...