SpinOneSolutions | I waste my time so that you don’t have to…

TAG | Model

The Problem:
You’ve enabled partial refunds in the Authorizenet Model, but it’s not refunding the proper amounts.  This is due to, in my view, a bug in the core which I’ll show you how to patch!
The Solution:
What you need to do is overload the refund method in the Authorizenet model.
Create a new model that extends the [...]

, Hide

Oct/09

28

Magento – Enable Paygate Refunds

The Problem:
You want to issue a refund, electronically, through your payment gateway from Magento.
The Solution:
By default, the community edition of Magento has refunds disabled in the Paygate Models.  In order to enable them you need to create a custom Model and overwrite a protected variable.  Refer to Part IV: Extending Models for more details on [...]

, Hide

Oct/09

28

Magento – Part V: Data Layer

The Problem:
You need a custom Model to interact with a database.
The Solution:
By now you’ve read all the previous posts, right, and you want to take your custom module to the next level.  You not only have business logic to perform, but you need to read and write data to a custom database table.  No problem, let’s [...]

, , Hide

Oct/09

2

Magento – Part II : Models

The Problem:
You need to work with Magento Models, how chic!
The Solution:
Well, let’s be honest… I don’t have THE solution, but I do have some useful snippets of information to pass along.
Models are the meat of an MVC application.  They contain the definitions for your application’s components.  Stop for a moment and think conceptually about your [...]

, Hide

Find it!

Theme Design by devolux.org