agiliq/merchant — Issue #20: Update the Authorize.net Gateway docs to use $1
Author: dragonx
Created: 2011-12-09 02:31:54+00:00
State: open

The documentation on:
http://readthedocs.org/docs/django-merchant/en/latest/gateways/authorize_net.html

Shows a transaction using credit card 4222222222222 for $100, which is supposed to succeed.

This is actually a special card # on Authorize.net such that the return code from the API call will be the same value as the card amount. In this case, it's error code 100, which means "The eCheck.Net type is invalid."

I spent about 4 hours debugging the error, wondering if there was in fact some malicious code that would attempt a check transfer. I finally found it was normal behavior for Authorize.net

It seems like a small thing but I highly recommend adjusting the docs. It really throws off someone who's just trying out your project, which actually seems pretty good.

Also, your demo site http://merchant.agiliq.com/authorize/ works, but only if all parameters on the form are filled correctly, otherwise it returns with a 500 error. For people just checking it out, it would be helpful to actually show what working form data would be.