ePages 7.0.0 - DE_EPAGES/Ipayment/UI/Shop.pm

Package DE_EPAGES::Ipayment::UI::Shop

UI class

Functions

CancelCallback
CaptureCallback
PaymentHiddenTriggerIpayment
PaymentRedirectIpayment
PaymentSilentErrorIpayment

CancelCallback

ChangeAction implementation for the cancel request callback. Ipayment sends us the callback url as redirect which we don't call. Instead we process their redirect response directly. But for doing the request, we have to provide a callback URL, so we created an URL with this ChangeAction as dummy. If the behaviour changes on the ipayment side and they start to call the callback url directly instead of sending us a response, we can easily finding this out by checking the communication.log.

Syntax
CancelCallback( $Servlet );
Input
$Servlet (object)
Servlet

CaptureCallback

ChangeAction implementation for the capture request callback. Ipayment sends us the callback url as redirect which we don't call. Instead we process their redirect response directly. But for doing the request, we have to provide a callback URL, so we created an URL with this ChangeAction as dummy. If the behaviour changes on the ipayment side and they start to call the callback url directly instead of sending us a response, we can easily finding this out by checking the communication.log.

Syntax
CaptureCallback( $Servlet );
Input
$Servlet (object)
Servlet

PaymentHiddenTriggerIpayment

Callback called by Ipayment website to set the transaction status to paid or failed just in case.

Syntax
PaymentHiddenTriggerIpayment( $Servlet );
Input
$Servlet (object)
UI object

PaymentRedirectIpayment

Backlink function which is called by the user to return from Ipayment site, the porpouse is to show the order and inform of an error

Syntax
PaymentRedirectIpayment( $Servlet );
Input
$Servlet (object)
UI object

PaymentSilentErrorIpayment

Callback called by Ipayment in the case of an error

Syntax
PaymentSilentErrorIpayment( $Servlet );
Input
$Servlet (object)
UI object