• Resolved malim92

    (@malim92)


    hi

    im trying to develop custom woocommerce payment gateway that accepts multiple currencies, so im trying to integrate your plugin with the gateway

    does the plugin have a hook i can use to check which currency the user chose ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support alina98

    (@alina98)

    Hi @malim92 ,

    Thanks for writing to us today!

    Please note that YayCurrency allows you to:
    It allows you to set currency auto detection for frontend users based on their country.
    Also allow the admin can turn on option that allows frontend users to checkout in different countries at the checkout.

    Please learn more about YayCurrency here:
    https://docs.yaycommerce.com/yaycurrency/

    Kind regards,
    Alina

    Thread Starter malim92

    (@malim92)

    thanks for the reply but still not sure if its relevant to the question

    im wondering if there’s a hook for the plugin where other developers can tap on to check the currency status

    Thread Starter malim92

    (@malim92)

    ok so after reading the documentation i realize that the plugin saves the currency choice in the cookie which answers my question.

    Plugin Support mialewp

    (@mialewp)

    Hi there,

    Thanks for reaching out!
    If you want to get the currency, which was chosen by user then you can use get_woocommerce_currency() function.
    If you have questions, feel free contact to us.

    Best regards,
    Mia

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘currency hook’ is closed to new replies.