Forum OpenACS Development: Response to ecommerce status?

Collapse
Posted by Gilbert Wong on

Janine,

I am not familiar with Cybercash's API. Are there specific actions that are required for the ecommerce module? For Authorize.net, you can perform the following:

  • Auth-Capture
  • Auth-Only
  • Prior-Auth-Capture
  • Capture-Only
  • Credit
  • Void

All of these actions except for Capture-Only are keyed off of a transaction ID (I'm still trying to figure out if the transaction ID is generated by Authorize.net or by the client). The Capture-Only action uses an authorization code from an outside source, not from Authorize.net.

What do you mean by querying the status?

I have some test code which can send to and receive data from the Authorize.net payment gateway. Authorize.net requires you to do a HTTPS POST to send and receive data. So to do this, you need to run TLS and OpenSSL and you can write the code in TCL using the HTTP and TLS modules.

How does your TCL library work? Is it an abstraction layer above the CC API?