Closed (fixed)
Project:
Ubercart CashNET
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2012 at 21:33 UTC
Updated:
8 May 2012 at 19:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
millenniumtree...and of course, I wrote a patch
In the CASHNet configuration (admin/store/settings/payment/edit/methods), I've added a field for the Order ID code and defaulted it to 'ZZZ_ORDERID'. This variable is always posted as ref1type1/ref1var1, just as before, but now you can change ZZZ_ORDERID to anything you like.
I also added a couple of additional optional fields - email and name - our implementation required these two. Again, you can specify any variable you like for them - We used EMAIL_G and NAME_G
I hope the code doesn't freak anyone out - I sometimes over-engineer things. To add even more variables would be quite simple, just by adding a couple of lines in the module.
If you can make use of this, please let me know.
Comment #2
chrisfromredfinHey there - I apparently never turned on notifications for this issue queue and am just seeing these issues now! Going to take a look at this stuff tomorrow... initially the patch seems OK although I may try and make the custom variables even more flexible/configurable still.
Comment #3
chrisfromredfinstarted with this patch and merely added some help text to the "additional variables" section so people would know how it applied to the generated code. thanks for giving back, millenniumtree!