Possible upgrade to version 6.x

v2egroup - July 22, 2008 - 23:33
Project:Signup Pay for a node
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

What is involved in upgrading this module to work with a 6.x site? Thanks, -Bill Franklin (bill@v2egroup.com)

#1

kbahey - July 23, 2008 - 02:38

This is a frequently asked question.

Also, remember that the module does not have a stable version for Drupal 5.x yet. This will happen when enough people test the existing code for features and bugs and declare it as stable-worthy. After that, a D6 version can proceed, via one of the avenues outlined in the link above.

#2

v2egroup - July 24, 2008 - 15:28

So, whats involved in upgrading it myself or having you upgrade it? I'm perfectly familiar with coding in PHP, but to "scratch my own itch," it would be helpful to have some hint of how big a job that is, or if you want to upgrade it/what you want in return. Feel free to email me directly, since I don't really have any other reason to check the drupal issues queue. Bill Franklin bill@v2egroup.com

#3

kbahey - July 24, 2008 - 16:06

Here is all the info you need for the conversion http://drupal.org/node/114774

#4

v2egroup - July 24, 2008 - 19:25

I had already found the coder module and started on my own. Converting signup, signup_paypal and simple_paypal. Done with simple_paypal. Should finish other two sometime today and then start testing. Any further advice? Thanks, -Bill

#5

kbahey - July 24, 2008 - 20:38

Before you start on other modules, check that you are not duplicating effort.

For example, simple_paypal is here http://drupal.org/node/280101

#6

v2egroup - July 25, 2008 - 13:06

Got it. That one still had errors from coder. Passed those on.

#7

kbahey - July 25, 2008 - 15:00

Do not rely solely on coder. Use it only as a starting point. There are many other things you have to do manually, like hook_menu() and all the theme stuff.

#8

v2egroup - July 25, 2008 - 23:05

Questions: What is the mechanism "connecting" signup and signup_pay? IE, what is supposed to cause signup_pay_do_payment to be called?

The relevant modules are: event, signup, signup_pay, simple_paypal.

I've got functioning ports of the modules merged from other sources (lots of testing and debugging there) and everything works fine when signup_pay is deactivated. Data in the tables for all the modules looks ok. All the right notices get sent.

When I activate singup_pay and try to signup for a test event, I get "You have registered but not yet paid for this event." I'm just not getting redirected from the signup form post to paypal and back.

Any hints would be greatly appreciated. Thanks.

#9

v2egroup - July 28, 2008 - 15:35

node->signup_pay_enabled is not set when entering signup_pay_form_alter even though it gets set correctly first in signup_pay_nodeapi. The value is not in the form parameters (I've printed them out), so there's no value to check when you get there. Basically, even though nodeapi sets signup_pay_enabled, it is not getting on the form to then be available when $node = $form['#parameters'][1];

#10

kbahey - July 28, 2008 - 15:47

Is this $node stuff related to upgrading to D6, or a separate issue? Please do not mix issues by going off topic. Open a new issue if need be.

#11

v2egroup - July 28, 2008 - 15:53

This looks like a separate issue.

 
 

Drupal is a registered trademark of Dries Buytaert.