- DATE:
- AUTHOR:
- The Duffel team
API
Seat Selection Component: You can now display prices for seats in a currency of your choice
DATE:
AUTHOR:
The Duffel team
Using Duffel's Seat Selection Component, prices for seats can now be displayed in a currency of your choice for your customer.
Pass in an additional currency conversion prop to Seat Selection Component including the ISO 4217 currency type and conversion rate to use. The conversion rate provided will be applied to seat prices in your organisation's default currency.
Example:
1 GBP = 10.69 HKD
For Seat 28C, the original price in the organisation's currency is 20 GBP.
const currencyConversion = {
currency: 'HKD',
rate: 10.69
}