Conversion when customer selects payment currency
Overview
Currency conversion when the customer selects the payment currency has the following characteristics:
-
The customer selects the currency out of all available.
Available currencies encompass all currencies supported for the merchant's project in question with available currency pairs as provided by the exchange rate data source. Thus, the list of available currencies can differ depending on the project and the required action.
-
The merchant receives the funds in the currency selected by the customer, dollars, euros, or pounds sterling.
If the customer selects to pay in euros, US dollars, or pounds sterling, and the payment is processed in the selected currency, the merchant receives the funds in this currency. If the Bulgarian lev is selected, then the merchant receives the funds in euros (for Visa payments) or in dollars (for Mastercard payments). In all other cases, the merchant receives the funds in dollars.
- This option uses exchange rates set by
ecommpay.
To learn more about exchange rates, contact your account manager.
Currencies available for the customer to select are displayed on Payment Page in a drop-down list with currency codes. If the payment request contains a code of the currency from this list, this currency is shown as preselected.
Selecting from all available currencies is supported for one-time purchases, including scenarios when payment retries are used and when COF purchases are registered.
The customer can confirm the payment in the initial currency or select another. When a different currency is selected, the payment form displays the amount in the selected currency instead of the initial payment amount. Let's say the payment amount is 10 USD
and the customer selects to pay in brazilian reals, then the payment form will display the amount converted to dollars—for example, 57.60 BRL
.
Following this step, the customer can see the amount in the selected currency on all pages of the payment form including the payment result page. Thus, in our example with the initial payment amount of 10 USD
, the customer is shown the amount in the selected currency—57.60 BRL
.
Setup
To learn more about the option when the customer selects payment currency and to set up this functionality, contact your ecommpay account manager.
Use
You do not need to update your web service to support payment currency selection by customer. The following is a workflow of a one-step purchase which requires conversion to the currency selected by the customer.
Currency conversion information is included in payment result callbacks: the operation
object contains the sum_initial
object that specifies the amount and the initial currency and the sum_converted
object that specifies the amount and the currency after the conversion operation. In addition, the sum_customer
object contains the following information about the customer's currency selection:
amount
—operation amount in the currency selected by the customercurrency
—code of the currency selected by the customer
However, the currency selection information is not specified in a callback if the information about the currency selected by the customer is passed in the initial payment request.
The following is an example of the payment with a conversion operation in which 10 USD
are converted into 57.60 BRL
as the customer selected to pay in BRL
and the amount the customer actually paid is equal to 57.60 BRL
.