tycom Posted September 17, 2008 Share Posted September 17, 2008 I don't think that it would would be suitable for all of you. If there is any php coders in community, I can give the main idea of the system and even source code. Anyone that knows php can implement our code to his needs. Main algorithm: 1. Form that team members should complete to send payments. 2. Data from this form should be sended to processor. 3. When payment is done processor sends callback to your custom file. 4. This file recieves callback that includes information about the registered customer and the summ. The same file put this amount to customer's balance. 5. You set up cron that runs php file that decreases/closes invoices by positive balance amount and writes down information in "transaction info" section. Whole systems contains 3 phps: 1) with form to complete and send info to processors 2) callback file 3) file that works with the balances and invoices. Advantages of that kind of systems is that i works with ALL verisons of CE and even could work with other billing systems with minor modifications. Moreover anyone who knows php can see "how it works". I anyone interested I can post source codes. P.S. Sorry for my bad English. Link to comment Share on other sites More sharing options...
studeggle Posted September 17, 2008 Share Posted September 17, 2008 I would deffinetly be interested in the source code. I have done some work coding one from the ground up but been having a little trouble with enteracting with payment systems (currently on hold since moving from modernbill) and it would be nice to evaluate how you have done it and alter yours or implement some of your ideas into mine. Credit of course would be maintained, and I am not looking to sell it simply implement it on whatever billing system I choose. Link to comment Share on other sites More sharing options...
tangogc Posted September 17, 2008 Share Posted September 17, 2008 I have installed teampay 2.5.1 on CE 3.0.2 installation was ok, admin area is perfectly working but in the user interface I have this error Fuse: teampay Action: Type: Warning (2) Description: main(modules/billing/models/Invoice.php): failed to open stream: No such file or directory Script: C:\Programmi\Apache Group\Apache2\test\nuke\billing2\modules\teampay\views\Pay.php In CE 3.02 this folder doesn't exist modules/billing/models/Invoice.php how to fix ? Link to comment Share on other sites More sharing options...
DougK94 Posted September 17, 2008 Share Posted September 17, 2008 Teampay 2.5.1 only works with 3.1.3 and 3.1.4, for 3.02 try TP 2.5 Link to comment Share on other sites More sharing options...
tangogc Posted September 17, 2008 Share Posted September 17, 2008 I have downloaded 2.5 from ce forum TeamPay2.for-CE3.1.ZEND, nothing change the some error anyone have the right version running on 3.0.2 please ? Link to comment Share on other sites More sharing options...
DougK94 Posted September 17, 2008 Share Posted September 17, 2008 Swish might have an old version for 3.02.... You should look into upgrading your CE, 3.1.4 has some nice features that were added CE 3.1+ uses a slightly different menu system, so there were a few changes that had to be made to TP for this. Link to comment Share on other sites More sharing options...
DougK94 Posted September 17, 2008 Share Posted September 17, 2008 I just found my TP 2.0 for CE3.0, it is encoded with ioncube. If you want that, I will need your email address Link to comment Share on other sites More sharing options...
tycom Posted September 17, 2008 Share Posted September 17, 2008 I would deffinetly be interested in the source code. I have done some work coding one from the ground up but been having a little trouble with enteracting with payment systems (currently on hold since moving from modernbill) and it would be nice to evaluate how you have done it and alter yours or implement some of your ideas into mine. Credit of course would be maintained, and I am not looking to sell it simply implement it on whatever billing system I choose. Specially for u then I do not include here first file beacause there is only form that should be completed by who is going to pay. It sends variables to the second one (pay.php) http://www.tycom.ru/teampay.zip there are 3 php files with comments. order: form -> pay.php -> callback.php -> charge.php last php is ran by cron every 5 minutes for example Link to comment Share on other sites More sharing options...
xpservers Posted February 3, 2009 Author Share Posted February 3, 2009 tycom have you figured out your issue cause i was having the same problem clientexec version 3.1.4 teampay version 2.5.1 Uploaded binary and Zend is working fine: Warning: main(/home/USERNAME/public_html/CE-DIRECTORY/modules/teampay/ssi.php) [function.main]: failed to open stream: No such file or directory in /homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/teampay.php on line 14 Warning: main() [function.include]: Failed opening '/home/USERNAME/public_html/CE-DIRECTORY/modules/teampay/ssi.php' for inclusion (include_path='.:/usr/lib/php5') in /homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/teampay.php on line 14 Notice: Undefined variable: b_aaVx_Aa in /homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/ssi.php on line 10 Notice: Undefined variable: error_title in /homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/ssi.php on line 73 The link you provided is not a valid link, please obtain the correct TeamPay link for your team. Then If I log into my clientexec and click the teampay tab and history I get this: An error has occurred with the given operation Type: User Error (256) Description: QUERY: SELECT '#006600' as color, user_id as anmd5, payment_date AS newdate, date_format(payment_date, '%Y/%m/%d') as newdate2, IF(STRCMP(verify_sign,'admin'),CONCAT('Donation from ', payer_name,''),CONCAT('Admin Credit: ' , payer_name)) as description, payment_amount AS amount, payment_amount as cr, 0 as db FROM `teampay` WHERE `payment_status` = 'Completed' UNION ALL SELECT '#990000' as color, transactionid as anmd5, transactiondate AS newdate, date_format(transactiondate, '%Y/%m/%d') as newdate2, IF(STRCMP(action,'admin'),CONCAT('Payment on Invoice: #', invoiceid),CONCAT('Admin Deduction: ', LEFT(response, INSTR(response,':')-1))) as description, amount AS amount, 0 as cr, amount as db FROM `invoicetransaction` WHERE transactionid LIKE 'TEAMPAY:%' ORDER BY newdate DESC, description - ERROR: Illegal mix of collations for operation 'UNION' Request: GET /billing/index.php?fuse=teampay&view=History Script: homepages/21/d171392759/htdocs/xpservers/billing/newedge/classes/NE_Mysql.php Line Number: 154 Stack: homepages/21/d171392759/htdocs/xpservers/billing/newedge/classes/NE_Mysql.php (154) : trigger_error homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/inc/class.statement.php (417) : ne_mysql::query homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/inc/class.statement.php (97) : statement::parsestatement homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/views/History.php (17) : statement::statement homepages/21/d171392759/htdocs/xpservers/billing/newedge/classes/NE_Controller.php (167) : history::dispatch homepages/21/d171392759/htdocs/xpservers/billing/newedge/front.php (76) : ne_controller::processview homepages/21/d171392759/htdocs/xpservers/billing/index.php (3) : require Link to comment Share on other sites More sharing options...
jcroom Posted February 18, 2009 Share Posted February 18, 2009 Warning: main(/home/USERNAME/public_html/CE-DIRECTORY/modules/teampay/ssi.php) [function.main]: failed to open stream: No such file or directory in /homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/teampay.php on line 14 Warning: main() [function.include]: Failed opening '/home/USERNAME/public_html/CE-DIRECTORY/modules/teampay/ssi.php' for inclusion (include_path='.:/usr/lib/php5') in /homepages/21/d171392759/htdocs/xpservers/billing/modules/teampay/teampay.php on line 14 Looks like your problem is here, open up teampay.php and modify the include to point to modules/teampay/ssi.php instead of /home/USERNAME/public_html/CE-DIRECTORY/modules/teampay/ssi.php Link to comment Share on other sites More sharing options...
DougK94 Posted February 18, 2009 Share Posted February 18, 2009 TP 2.5.1 will not work with CE 3.2 RC-1 due to the major changes in the customer side templates. And I have not heard if swish is still supporting or will be updating TP. Link to comment Share on other sites More sharing options...
swish Posted February 18, 2009 Share Posted February 18, 2009 TeamPay will be updated to CE 3.2 within the next few weeks. Link to comment Share on other sites More sharing options...
DougK94 Posted February 18, 2009 Share Posted February 18, 2009 That is good to hear Link to comment Share on other sites More sharing options...
xpservers Posted February 23, 2009 Author Share Posted February 23, 2009 Ill just wait for the upgrade. Swish will you be posting here when its released or on your site ? Link to comment Share on other sites More sharing options...
swish Posted February 23, 2009 Share Posted February 23, 2009 Ill post here. Im working on it as we speak. Link to comment Share on other sites More sharing options...
Todd Holley Posted March 9, 2009 Share Posted March 9, 2009 Ill post here. Im working on it as we speak. Had my first request ever for something like this, would be glad when you get a new version out. Link to comment Share on other sites More sharing options...
swish Posted March 9, 2009 Share Posted March 9, 2009 The new 3.2 permissions and they way they display modules is a bit tricky. Still working on it and hopefully should have it operational soon. Link to comment Share on other sites More sharing options...
xpservers Posted April 2, 2009 Author Share Posted April 2, 2009 Swish with CE 3.2 stable release to public now do you have an ETA for the clan pay module ? Link to comment Share on other sites More sharing options...
swish Posted April 2, 2009 Share Posted April 2, 2009 Yes...it got put on the back burner for a few but Ill be picking it back up here shortly and getting it compatible as quick as possible. Link to comment Share on other sites More sharing options...
Todd Holley Posted April 2, 2009 Share Posted April 2, 2009 Yes...it got put on the back burner for a few but Ill be picking it back up here shortly and getting it compatible as quick as possible. You act like your a busy man Ryan, we know the truth. Link to comment Share on other sites More sharing options...
swish Posted April 3, 2009 Share Posted April 3, 2009 You act like your a busy man Ryan, we know the truth. Its all your fault...lol Link to comment Share on other sites More sharing options...
xpservers Posted May 18, 2009 Author Share Posted May 18, 2009 Hi Swish any luck on the module yet ? Link to comment Share on other sites More sharing options...
DougK94 Posted May 18, 2009 Share Posted May 18, 2009 http://ceaddons.com/showthread.php?t=58 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.