Solved

Magento: Modify Authorize.net frontend interface

Posted on 2013-05-15
3
732 Views
Last Modified: 2016-03-02
We are using the Authorize.net AIM interface in Magento in a slightly different way and need to remove the fields for card type, credit card number, expire date and CVV field.  We are using the Authorize.net code to send to a page that will approve and disapprove transactions based on name, so the CC info isn't needed.

The fields need to be removed or made invisible with defaults so that Authorize.net processing will proceed, and not get stopped by the verifier.

We have traced through the code and found the getPaymentMethodFormHtml(Mage_Payment_Model_Method_Abstract $method) that seems to load the form information using getChildHtml('payment.method.' . $method->getCode()), but we have been unable to trace it down from there.

Please help.
0
Comment
Question by:kenozzy
  • 2
3 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39169603
Why not just remove the html from the form.ptml in the authoriznet folder?
0
 

Accepted Solution

by:
kenozzy earned 0 total points
ID: 39189068
As it turns out, Authorize.net uses app\design\frontend\base\default\template\payment\cc.phtml for it's form, along with many other Merchant services. Because we had multiple carts, we had to put some PHP code in to that file to check for the Authorizenet service and introduced hidden fields to eliminate the appearance of the credit card fields.

Your suggestion makes sense, but in my version the AIM interface uses cc.phtml

What do I do when I solve my own problem?
0
 

Author Closing Comment

by:kenozzy
ID: 39198789
I finally found the correct answer after sorting through all the files and testing by making small changes to the files.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Centering Vertically 3 28
form button worked now it doesnt anymore 9 41
Magento slider issue 1 6
Why isn't the "Select Name" showing on this form drop down 4 21
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
How important is it to take extra precautions to protect your online business? These are some steps you can take to make sure you're free of any cyber crime.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now