Business::OnlinePayment::IPayment::Transaction - Simple object to hold the transaction request
$IPayment_object->transaction(transactionType => 'auth', trxAmount => 5000, # 50 € trxCurrency => 'EUR', invoiceText => "Thanks!", trxUserComment => "Hello!", paymentType => "cc", shopper_id => int(rand(5000)), options => { fromIp => '99.99.99.99', checkDoubleTrx => 1, errorLang => 'en', # and possibly others, see doc wsdl });
This class holds the data of a single transaction. Given that the values are all related and shouldn't change over its lifetime, it's everything read-only.
Currency in which the payment is processed. There are all known three-letter ISO Currency codes allowed. A list of known currency codes, see https://ipayment.de/ under Technik. E.g EUR
EUR
CGI Name: trx_currency
trx_currency
Note that the processing of payments in the currency must be agreed with your payment provider.
Default to EUR in this implementation.
Amount to be debited, in the smallest currency unit, for Example cents. Decimal points or other characters except numbers are not allowed.
CGI Name: trx_amount
trx_amount
This parameter allows you to specify a unique ID for an order process. Under this Shopper ID is saved to the associated transaction in order ipayment system. The Shopper ID must be unique only if the extended examination of the IDs Avoidance of double use transactions.
Return the hashref with the transaction data details
The transaction type, choosen from the types below. It defaults to auth
auth
preauth auth base_check check_save grefund_cap
CGI Name: trx_typ
trx_typ
The payment type, choosen from the types below. It defaults to cc
cc
cc elv pp
CGI Name: trx_paymenttyp
trx_paymenttyp
Additional options for the SOAP request, as a hashref. These options are quite advanced, so we don't do any additional checking ourselves, delegating them to the SOAP compiler.
Hashref to hold additional information, notably the information about the cardholder.
To install Business::OnlinePayment::IPayment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Business::OnlinePayment::IPayment
CPAN shell
perl -MCPAN -e shell install Business::OnlinePayment::IPayment
For more information on module installation, please visit the detailed CPAN module installation guide.