CAT | PHP
20
Magento Partial Refund Amount Correction for Authorize.net
0 Comments | Posted by Will Wright in Magento, PHP
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 [...]
5
Custom Magento Grid with Ambiguous Column on Filter
4 Comments | Posted by Will Wright in Magento, PHP
The Problem
You’ve built a custom grid and the source collection has an ambiguous column in the where clause when applying a filter.
The Solution
I recently ran into this problem while I was building a custom grid. The situation should be familiar to many of you. I have a custom table storing addresses; for the region and country [...]
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 [...]
The Problem:
You want to expand upon or change some functionality within Magento.
The Solution:
Extend a Model! I’m going to use a real world example here because I believe that examples are the best tools for teaching.
I was faced with a request for additional functionality in regards to the Authorize.net payment method. Basically, the customer wanted an [...]
The Problem:
I need to write Part III of the Magento series.
The Solutions:
This article… TADA!
First, let’s talk about the controller. The default controller for a module is always named IndexController.php. If you haven’t requested a specific controller (in the URL), than the system is going to look for IndexController.php and load it. Similarly, the default Magento [...]
