PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Payment » Payment_Process » Bug #6982

AuthNet & _defaultOptions?

Details

Request #6982AuthNet & _defaultOptions?
Submitted2006-03-01 19:05 UTC
Fromawbacker at gmail dot com
StatusOpen
PackagePayment_Process
PHP Version5.1.2
OSlinux
Roadmaps(Not assigned)

Comments

[2006-03-01 19:05 UTC] awbacker at gmail dot com

Description:
------------
This may not be a bug, but there is no forum where I can post this kind of question to.

AuthorizeNet has a _defaultOptions field that does not appear to be being used. It has all the fields that I didn't know existed (x_encap_char, etc) that the process() method complaining about. Should this array be being used to initialize Common in __construct, maybe in addition to $options?

I am curious what the expected way to handle options is? The one example has someone creating an options array. I would like to initialize the object and call $obj->options['value'] = 'myval', or better yet, setOption('key', 'val')

Thanks,
Andrew