DCC Status Packets

In this section you will learn about the status packets returned during Dynamic Currency Conversion (DCC) transactions

DCC Status Packets Overview

ANYpay POS returns status update messages during Dynamic Currency Conversion (DCC) transactions to inform the merchant's system when the DCC selection screen is displayed and whether the customer has accepted or rejected the currency conversion.

Display DCC Selection Screen

A StatusUpdate message is returned when the DCC selection screen is presented to the customer.

📘

Key elements of a StatusUpdate message

DeviceIsDisplaying – ChooseDcc

CustomerInteraction – None

An example of a StatusUpdate message when the DCC selection screen is displayed can be seen below.

<?xml version="1.0" encoding="utf-16"?>
<StatusUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://servebase.com/2009/06/pedframework">
    <DeviceIsDisplaying>ChooseDcc</DeviceIsDisplaying>
    <CustomerInteraction>None</CustomerInteraction>
</StatusUpdate>

DCC Rejected

A StatusUpdate message is returned when the DCC selection screen is presented to the customer and the customer declines the rate in their local currency.

📘

Key elements of a StatusUpdate message

DeviceIsDisplaying – ProcessingTransaction

CustomerInteraction – DccRejected

An example of a StatusUpdate message when DCC is rejected can be seen below.

<?xml version="1.0" encoding="utf-16"?>
<StatusUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://servebase.com/2009/06/pedframework">
    <DeviceIsDisplaying>ProcessingTransaction</DeviceIsDisplaying>
    <CustomerInteraction>DccRejected</CustomerInteraction>
</StatusUpdate>

DCC Accepted

A StatusUpdate message is returned when the DCC selection screen is presented to the customer and the customer accepts the rate in their local currency.

📘

Key elements of a StatusUpdate message

DeviceIsDisplaying – ProcessingTransaction

CustomerInteraction – DccAccepted

An example of a StatusUpdate message when DCC is accepted can be seen below.

<?xml version="1.0" encoding="utf-16"?>
<StatusUpdate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              xmlns="http://servebase.com/2009/06/pedframework">
    <DeviceIsDisplaying>ProcessingTransaction</DeviceIsDisplaying>
    <CustomerInteraction>DccAccepted</CustomerInteraction>
</StatusUpdate>