ePages 6.10 - DE_EPAGES/SagePay/API/Payment.pm

Package DE_EPAGES::SagePay::API::Payment

Payment functions for SagePay.

@EXPORT_OK
RegisterTransaction
ProcessSagePayCallback

Functions

ProcessSagePayCallback
RegisterTransaction

ProcessSagePayCallback

check the SagePay callback request parameters and send the response, update PaymentLineItem

Syntax
ProcessSagePayCallback( $Servlet );
Input
$Servlet (object)
current servlet (contains form data)
Return
void

RegisterTransaction

send the registration request to SagePay to initiate a payment transaction

Syntax
RegisterTransaction( $PaymentLineItem );
Input
$PaymentLineItem (object)
the payment lineitem
Return
void