Package DE_EPAGES::SagePay::API::Object::RemoteSagePay
Functions
- getLogInfo
- getUrl
- getVendor
- register
- setLogInfo
- setTestMode
- setUrl
- setVendor
getLogInfo
Some logging informataion for the communication log.
Syntax |
$SagePayService->getLogInfo;
|
Return |
- $LogInfo (string)
- logging informataion
|
getUrl
URL of the SagePay service.
Syntax |
$SagePayService->getUrl;
|
Return |
- $URL (string)
- the URL of the SagePay service
|
getVendor
The vendor login name.
Syntax |
$SagePayService->getVendor;
|
Return |
- $Vendor (string)
- the vendor login name
|
register
Syntax |
$hResult = $self->register( $PaymentLineItem );
|
Example |
$hResult = $RemoteSagePay->registerTransaction( $PaymentLineItem );
|
setLogInfo
Sets some logging informataion for the communication log.
Syntax |
$SagePayService->setLogInfo($LogInfo);
|
Input |
- $LogInfo (string)
- logging informataion
|
Return |
-
- void
|
setTestMode
Set the test mode for the payment.
Mode can be 1: simple test mode
2: use simulator for debugging
Syntax |
$SagePayService->setTestMode( $Mode );
|
Input |
- $Mode (string)
- Sage Pay test mode
|
Return |
-
- void
|
setUrl
Sets the URL for the service. This is dependend on test or live mode.
Syntax |
$SagePayService->setUrl('register');
|
Return |
-
- void
|
setVendor
Sets the vendor for the payment.
Syntax |
$SagePayService->setVendor($Vendor);
|
Input |
- $Vendor (string)
- SagePay vendor login name
|
Return |
-
- void
|