ePages 6.17.17 - DE_EPAGES/POSTPAY/API/Synchronize.pm

Package DE_EPAGES::POSTPAY::API::Synchronize

Synchronize functions for POSTPAY.

@EXPORT_OK
Sync
GetPOSTPAYSynchronizeParams

Functions

GetPOSTPAYSynchronizeParams
Sync

GetPOSTPAYSynchronizeParams

creates hash for request to postpay

Syntax
$hRequestParams   = GetPOSTPAYSynchronizeParams($Shop,$POSTPAYTransaction);
Input
$Shop (object)
Shop
$POSTPAYTransaction (ref.hash)
transaction information we got from postpaytransactions table
Return
$hXMLRequestParams (ref.hash)
hash for request to postpay

Sync

Actualize the Basket(address data etc.) and transfroms basket to an order

Syntax
_Sync($hOrders,$POSTPAYTransaction);
Input
$hOrders (ref.hash)
order details we got from postpay
$POSTPAYTransaction (ref.hash)
transaction information we got from postpaytransactions table
Return
$Order (object)
order