Package DE_EPAGES::SagePay::API::Payment
Payment functions for SagePay.
@EXPORT_OK |
Functions
- GetRegisterURLByCountryCode2
- GetSagePayPaymentMethods
- IsOnePaymentMethodInLiveMode
- ProcessSagePayCallback
- RegisterTransaction
GetRegisterURLByCountryCode2
gives the the register url depending to the country code
Syntax |
GetRegisterURLByCountryCode2( $CountryCode2 ); |
Input |
|
Return |
|
GetSagePayPaymentMethods
give a array reference with all Sagepay payment methods wich belog to this current shop
Syntax |
GetSagePayPaymentMethods( $Servlet ); |
Input |
|
Return |
|
IsOnePaymentMethodInLiveMode
returns a 1 (true) if one of all sagepay payment methods which belongs to this shop is actualy in live mode
Syntax |
IsOnePaymentMethodInLiveMode( $Servlet ); |
Input |
|
Return |
|
ProcessSagePayCallback
check the SagePay callback request parameters and send the response, update PaymentLineItem
Syntax |
ProcessSagePayCallback( $Servlet ); |
Input |
|
Return |
|
RegisterTransaction
send the registration request to SagePay to initiate a payment transaction
Syntax |
RegisterTransaction( $PaymentLineItem ); |
Input |
|
Return |
|