Code So Far
Please keep in mind that this module was created with Authorize.net in mind. I am currently working on another project, but when I get back to it, I am going to remove the parts from the payment gateway specific code and place those items in a helper that can be used to modify any gateway.
The reason that I am modifying paygate code is that I don’t want to award points to a customer until the purchase is verified.
So, being new to using wiki’s, I may do this wrong, but I am going to create a new page for each file that I modified, and specify where the code is changed.
First however, I will put my directory structure down so that you can get an idea of what I have altered.
When you see roca, that will be the name of your custom template directory, or if you see rocajava, that will be where you use your own site name.
I have placed my code into the following directories and their sub-directories:
My /app/code/local/Mage/Points/ directory has the following:
If I remember correctly, a couple of these files may have more to do with my hack to send the store a notification of an order than it has to do with the points system. I will edit that out later when I re-discover those bits.