Gift Card in Hong Kong Dollars

Only digital gift card is available for HKD market (similar to the US market)

Scenario: Admin sets custom HKD values for gift cards
Given the admin has enabled HKD in yayCommerce → yayCurrency
Then the admin can set specific gift card values in HKD (that’s different from EU or US)
and those amounts should be used on the Hong Kong storefront

Scenario: Display gift card in HKD for Hong Kong storefront
Given the user is browsing from the Hong Kong storefront
When the user visits the gift card page
Then the default currency shown should be Hong Kong Dollars (HKD)
And all gift card amount options (e.g. 500, 1000, 2000) should be displayed in HKD

And the gift card photo should show HKD

Scenario: Gift card email confirmation shows value in HKD
Given the user purchased the gift card from the Hong Kong storefront
Then the gift card confirmation email should show the gift card value in HKD

Scenario: Gift card redemption in different currencies
Given the user has a gift card from a different storefront
When the recipient redeems the gift card on another storefront
Then the coupon’s value should be converted to the currency of the storefront of the shipping address following the conversion rate set in admin panel at the moment
(already working with USD – EURO)

Example:

  • Given the user has a valid 200€ voucher from the EU storefront
    And the user is checking out with a shipping address in Hong Kong
    When the user enters the 200€ voucher code during checkout
    Then the voucher amount should be converted from EUR to HKD using the current exchange rate
    And the converted HKD amount should be deducted from the shopping cart total

Comments

Leave a Reply