ePages 6.17.35 - DE_EPAGES/RealexPayment/UI/JSON.pm

Package DE_EPAGES::RealexPayment::UI::JSON

Handler for AJAX request to place the delayed settlements

Base
DE_EPAGES::Presentation::UI::JSON;

Functions

PlaceDelayedSettlement

PlaceDelayedSettlement

The function receives a LineItemPaymentRealexPayment object and/or two messages introduced by the merchant. If all is correct the function will retun a json string back to the JavaScript function with 'RealexSuccess' as a content. If a Error appears the function will return a json string back to the JavaScript function with 'RealexErrorOne' or RealexErrorTwo as a content.

Syntax
PlaceDelayedSettlement( $Servlet );
Input
$Servlet (object)
servlet object