Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

how do we show the currency based on user locality while doing payment #11059


User avatar
0
shedspotter created

What is your product version? 11.0.0

What is your product type (Angular or MVC)? Angular

What is product framework type (.net framework or .net core)? .NET 6

Hi, we want to show the currency based on user locality for ex. when paying from India we should show the payment in INR and alos amount should be show in INR not in USD

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @shedspotter

    This is not supported. If you want to do this, I guess it is better to detect user's location (you can use selected language to detect it as well) and store it in user claims (for example AbpSession.UserCurrency). After that, you can use AbpSession.UserCurrency in related pages (SelectEdition, payment pages for Stripe or PayPal). You will also need a currency converter in your app.