Package DE_EPAGES::Paybox::API::GatewayInterface::PaymentGateway
Abstract PaymentGateway class The class mainly publishes the contract for the subclasses
Functions
- checkPaymentResponse
- getConfigurator
- getPayboxDirectURL
- getPaymentRequestData
- getPaymentRequestURL
- initalize
- new
- processPaymentResponse
checkPaymentResponse
Process a payment backlink : browser redirect from Paybox service
Syntax |
$PaymentGateway->checkPaymentResponse($hPaymentContext); |
Input |
|
Return |
|
getConfigurator
Returns the PaymentGatewayConfigurator object linked to this Payment Gateway
Syntax |
my $Configurator = $PaymentGateway->getConfigurator(); |
Return |
|
getPayboxDirectURL
Returns the PayboxDirect URL which can be used to perform PayboxDirect requests.
Syntax |
my $PayboxDirectURL = $PaymentGateway->getPayboxDirectURL(); |
Return |
|
getPaymentRequestData
Returns all the information needed to send to the GatewayPayment for a transaction
Syntax |
$Data = $PaymentGateway->getPaymentRequestData($LineItemPayment); |
Input |
|
Return |
|
getPaymentRequestURL
Returns the PaymentGateway URL to redirect the customer to start the payment process.
Syntax |
my $RequestURL = $PaymentGateway->getPaymentRequestURL(); |
Return |
|
initalize
Initialization of the PaymentGateway object
Syntax |
$PaymentGateway->initalize($PaymentGatewayConfigurator); |
Input |
|
new
Constructor. Should not be used. Use the PaymentGatewayFactory instead!
Syntax |
new ($hOptions); |
Input |
|
Return |
|
processPaymentResponse
Process a payment callback : direct call from Paybox service
Syntax |
$PaymentGateway->processPaymentResponse($hPaymentContext); |
Input |
|