Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paysystems Module Help


BassHunter

Recommended Posts

Posted

Hello All,

Just a newbie with OSCommerce, but started programming php sites some time ago and will never go back to any other design format. Hope that someone can help me out with this.....

 

I utilize Paysystems as a payment gateway. I recommend them highly. I downloaded the Paysystems module, unzipped, and followed the tree down to the "paysystems.php" file. Everything else appeared in order, so that was the only file that I loaded into the language/english/modules/payment/paysystems.php and the /includes/modules/payment/paysystems.php

 

Upon returning to the control panel, I saw that Paysystems was listed in the payment options, but when I clicked the green light, I got this error...

 

Warning: call_user_func(tep_get_order_status_name) [function.call-user-func]: First argument is expected to be a valid callback in /home/buckeyea/public_html/videostore/admin/includes/functions/general.php on line 1232

 

If I click around the rest of the control panel, everything appears to be working fine. If I return to the modules the page appears OK, except that the Paysystems option is listed as "Sort Order "0". If I click on it to edit, I get this error...

 

Fatal error: Call to undefined function: tep_cfg_pull_down_order_statuses() in /home/buckeyea/public_html/videostore/admin/modules.php(204) : eval()'d code on line 1

 

Before I get too much farther, I'd like to ask for someone to shed some light on this. Did I get something wrong when I uploaded the module? Is this an easy fix or something simple that I overlooked?

 

Thanks for the assist,

Erich

"Achievement - seems to be connected with action. Successful men and women keep moving. They make mistakes, but they don't quit." - Conrad Hilton

Posted

Hello,

 

I have the exact same problem...

 

 

Someone please help us out..

Posted

Anyone have any input?

"Achievement - seems to be connected with action. Successful men and women keep moving. They make mistakes, but they don't quit." - Conrad Hilton

Posted

Hello All,

I'm sorry you're having problems with the module but as I note in the documentation, I did not write this module. I simply took what the original author had written and converted it to Paysystems. I do not get the error you note and after reading your messages here, I have written privately to others who use the module and none of them have any idea what is causing the error since all any of us did was install it and start using it.

 

I might suggest, based upon experience, that there is another module conflicting with the Paysystems module and that you have both installed that module and those who are using the module without problems did not install the module that is conflicting. Sorry but that's really the best I can offer.

 

When I first decided to try the Paysystems module I tried to contact the original author without success so I don't know what else I can offer except that perhaps someone here will recognize your error message and will be able to provide you with some help. Otherwise, your best bet is so get more familiar with PHP and try to diagnose the error yourselves. That's about all we can do when we cannot find anyone else who has an answer. I wish I could be more help but perhaps I've given you some information that will point you in the right direction.

 

Good luck!

Cheers,

Stretchr

"It's a small world...

But I wouldn't want to paint it!"

Stephen Wright

Posted

Hello,

 

Yay! I got this bugger fixed. Just replace your current paysystems.php and if you have also replace the paypalipn.php which are both in ...includes/modules/payment/ with the following...

 

www.soccergrip.com/paypalipn.php

www.soccergrip.com/paysystems.php

(Just right-click and select Save Target As..)

 

**Please remember to backup and of the files you change**

Posted

Hello,

 

Couldn't figure out how to edit the post.. so here it is in a .zip file

 

www.soccergrip.com/Paysystems.zip

Posted

Can you give me a hint on what code you changed?

 

Tracy

Posted

All I did was add an S on some of the "order" without the S.. they had to be "orders" to work.

  • 2 weeks later...
Posted

I was involved in the first version of the module, sorry that I have been busy the last period so did not see this problem in the forum. Anyway,

I probably could not have solved it either as I have not met the same problem myself and it is quite a tricky one. Anyway, good to see that it has been solved.

 

regards

Posted

FWIW, I am using the module just as I published it, without any changes in "order". Not sure why some of you need to make the change. I am using 2.2MS1.

All I did was add an S on some of the "order" without the S.. they had to be "orders" to work.

"It's a small world...

But I wouldn't want to paint it!"

Stephen Wright

Posted

The problem occurs in the 2.2 CVS version that is installed by cpanel. Not in the 2.2 MS1

 

Tracy

Posted

Whe using Paysystems on my site. I go to make a purchase, go through the entire process at Paysystems. Paysystems records the order but osCommerce does not. Is there something I'm missing. Am I supposed to click a link at Paysystems to return to osCommerce?

Posted

When you click on "Click once to continue" on the Paysystems page after having entered your credit card details you should be redirected to

the osCommerce checkout_process.php page. But there is no test mode for this, you can only do it with actual payments.

  • 3 weeks later...
Posted

I uploaded the new paysystems.php file but still get same error

 

Warning: call_user_func(tep_get_order_status_name) [function.call-user-func]: First argument is expected to be a valid callback in /home/lazydog/public_html/shop/admin/includes/functions/general.php on line 1232
Posted

I did not figure it out myself, just browsed the other forums, found the similar problem, and made my 2.2 work!

The real contribution is from Tracy Gibson:

http://www.oscommerce.com/forums/viewtopic.php...ction+undefined

 

Here is the recepie:

1. Do not modify the original version of PaySystems1.2 by Daniel Lackey.

2.Get the general.php at http://www.oscommerce.com/community/contri...ons,1355/page,5

(PaySystems fix for 2.2)

and substitute one in admin/includes/functions with it.

:twisted:

Posted
I did not figure it out myself, just browsed the other forums, found the similar problem, and made my 2.2 work!

The real contribution is from Tracy Gibson:

http://www.oscommerce.com/forums/viewtopic.php...ction+undefined

 

Here is the recepie:

1. Do not modify the original version of PaySystems1.2 by Daniel Lackey.

2.Get the  general.php at http://www.oscommerce.com/community/contri...ons,1355/page,5

(PaySystems fix for 2.2)

and substitute one in admin/includes/functions with it.

:twisted:

 

I am using the Paysystems module with MS2 just as I posted it with without having to modify the General.php. I'm wondering if you have any idea or theories why some people have to change that code and others don't? It's curious because I added the Paysystems module to a clean MS2 install to test it for compatibility so I could post a notation that it had been tested and worked with MS2 and it worked for me the first time with no errors. Anyone have any ideas? Thanks.

 

Cheers,

Stretchr

"It's a small world...

But I wouldn't want to paint it!"

Stephen Wright

Posted
I am using the Paysystems module with MS2 just as I posted it with  without having to modify the General.php. I'm wondering if you have any idea or theories why some people have to change that code and others don't? It's curious because I added the Paysystems module to a clean MS2 install to test it for compatibility so I could post a notation that it had been tested and worked with MS2 and it worked for me the first time with no errors. Anyone have any ideas? Thanks.

 

Cheers,

Stretchr

What I read somewhere, it doesn't work for those for whom cpanel made an automatic installation. Cpanel installs it as "root" instalation, i.e. there is no /catalogue directory, it is just / and /admin directory is contained within.

Thus, I can suspect that some function declarations are not visible from /admin because of some reason (reference problems?) and we have to patch general.php in order to have those declarations.

 

Just a wild guess

8)

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...