omnipay-authorizenet icon indicating copy to clipboard operation
omnipay-authorizenet copied to clipboard

Add Line Items

Open Sarke opened this issue 7 years ago • 2 comments
trafficstars

Is there a way to use any of the additional request properties, such as order line items and shipping address? Those defined here: https://developer.authorize.net/api/reference/#payment-transactions

If not, is this going to be added? Without it, it is very limited functionality.

It would be a good idea to have a method to add generic properties into the request, so we are not limited to what is specifically defined in AIMAbstractRequest.

EDIT: Nevermind! I see there are CreditCard and ItemBag from the main OmniPay package that deal with this.

Sarke avatar Mar 15 '18 02:03 Sarke

It appears that only the CreditCard class is used, the ItemBag is not.

As suggested, making a public method for adding request data would allow us to use payment gateway features without it being implemented in OmniPay.

Sarke avatar Mar 15 '18 03:03 Sarke

Yes you are right, the lineItems/ItemBag seems to have been totally overlooked.

judgej avatar Mar 15 '18 11:03 judgej