Code So Far

Last modified by CrashTest on Tue, December 18, 2007 17:39
Source|Old Revisions  |  Back To Group

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:

  • /app/code/local/Mage/Points/
  • /app/design/frontend/default/roca/

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.




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs