A place to log my programming solutions.

Tagged :: API

30
Mar 10

Magento – Accept Payments via Authorize.net

Use this resource “How to Set Up Authorize.net Payment Gateway” at Redstage’s Magento Blog for more information on how to set up the Authorize.net payment module in Magento. The article shows where to get the API and Transaction Keys, as well as where to enter them into Magento.

As with most payment gateways, the steps involved are a matter of:

  1. Gathering the appropriate information (provided by the gateway service)
  2. Enter the information into the Magento Admin Panel
  3. Activate the payment module

Full procedure

7
Mar 10

ConstantContact Send Welcome Email When Creating a New Contact via API

Using the ConstantContact mailing list, I was having trouble getting the welcome email to send after creating a new contact through the API. I had tried checking the “Autoresponder” box in the admin panel, but still no welcome email. The solution is to have:

var $actionBy = 'ACTION_BY_CONTACT';

in cc_class.php (provided via the “PHP Sample Forms” zip file). By default, this value is:

var $actionBy = 'ACTION_BY_CUSTOMER'

instead, which does not trigger the welcome email.

About NVNCBL and Myself

Contact Me