ePages 6.0 Patch 6 - DE_EPAGES/AuthorizeNet/API/Object/LineItemPaymentAuthorizeNet.pm

Package DE_EPAGES::AuthorizeNet::API::Object::LineItemPaymentAuthorizeNet

object interface for LineItemPaymentAuthorizeNet.

Base
DE_EPAGES::Order::API::Object::LineItemPayment

Functions

checkAmount
className
dbPackage
executePayment

checkAmount

This functions checks if the amount given in the authorizenet transaction matches the amount of the order.

Syntax
$PaymentLineItem->checkAmount;
Return
$result (boolean)
true if the ordered amount matches the transasctional amount

className

Returns the class name, used for DAL access.

Syntax
$ClassName = $LineItemPaymentAuthorizeNet->className;
Return
$ClassName (String)
class name

dbPackage

Returns the database package, used for DAL access.

Syntax
$DbPackage = $LineItemPaymentAuthorizeNet->dbPackage;
Return
$DbPackage (String)
database package name

executePayment

Interrupts the Basket2Order Process to show 'Basket.ViewPaymentAuthorizeNet'. Current container grand total is saved at lineitem. Servlet output encoding is set to 'ISO-8859-1', AuthorizeNet-Gateway don't understand utf-8 forms.

Syntax
$LineItemPaymentAuthorizeNet->executePayment($hParams);
Input
$hValues (ref.hash)
values witch will be changed