Show/Hide Toolbars

How to set up Ongoing Purchase

Navigation: CWT Configuration

cwtconfig.xml file

Scroll Prev Top Next More

Asynchronous

Set the parameter ongoingPurchaseDatabaseLocation in the PAYMENT element to Global
Set the userIdentifier to Code to enable to Code Input Panel allowing the user to enter her Vehicle Registration Number
Set the ongoingPurchaseDatabaseReplication to AtPurchase

 

Example

<PAYMENT tickFactor="100"
 currency="978"
 defaultVAT="2500"
 ongoingPurchaseDatabaseLocation="Global" />
<PAYMENTSERVICE paymentServiceId="1"
 name="PrePay"
 userIdentifier="Code"
 ticketRemovalTimer="30"
 autoCardPay="true"
 articleChoice="true"
 defaultArticleId="1"
 tariffChoice="false"
 defaultTariffId="1"
 overpayment="Confirm"
 addPay="NewBuy"
 ongoingPurchaseDatabaseReplication="AtPurchase" >

 

Synchronous

Set the parameter ongoingPurchaseDatabaseLocation in the PAYMENT element to Global
Set the userIdentifier to Code to enable to Code Input Panel allowing the user to enter her Vehicle Registration Number
Set the ongoingPurchaseDatabaseReplication to RequiredForPurchase
Optional set the ongoingPurchaseRejectTicket to Yes if you want to print a reject ticket when the provider denies the purchases

 

Example

<PAYMENT tickFactor="100"
 currency="978"
 defaultVAT="2500"
 ongoingPurchaseDatabaseLocation="Global" />
<PAYMENTSERVICE paymentServiceId="1"
 name="PrePay"
 userIdentifier="Code"
 ticketRemovalTimer="30"
 autoCardPay="true"
 articleChoice="true"
 defaultArticleId="1"
 tariffChoice="false"
 defaultTariffId="1"
 overpayment="Confirm"
 addPay="NewBuy"
 ongoingPurchaseDatabaseReplication="RequiredForPurchase "
 ongoingPurchaseRejectTicket="Yes">

 

Synchronous with fall back

Set the parameter ongoingPurchaseDatabaseLocation in the PAYMENT element to Global
Set the userIdentifier to Code to enable to Code Input Panel allowing the user to enter her Vehicle Registration Number
Set the ongoingPurchaseDatabaseReplication to RequiredForPurchaseFallback
Optional set the ongoingPurchaseRejectTicket to Yes if you want to print a reject ticket when the provider denies the purchases
Set the ongoingPurchaseFallbackTicket to Yes
Set the ongoingPurchaseDefaultDescription to the text you want to print on fall-back
Set the ongoingPurchaseDefaultExternalId to the ID that shall be printed on fall-back

 

Example

<PAYMENT tickFactor="100"
 currency="978"
 defaultVAT="2500"
 ongoingPurchaseDatabaseLocation="Global" />
<PAYMENTSERVICE paymentServiceId="1"
 name="PrePay"
 userIdentifier="Code"
 ticketRemovalTimer="30"
 autoCardPay="true"
 articleChoice="true"
 defaultArticleId="1"
 tariffChoice="false"
 defaultTariffId="1"
 overpayment="Confirm"
 addPay="NewBuy"
 ongoingPurchaseDatabaseReplication="RequiredForPurchaseFallback"
 ongoingPurchaseRejectTicket="Yes"
 ongoingPurchaseFallbackTicket="Yes"
 ongoingPurchaseDefaultDescription="ongoing Purchase Default Description"
 ongoingPurchaseDefaultExternalId="ongoing Purchase Default External Id">