Jump to content

[SOLVED] new Currency() by currency iso code


muirch

Recommended Posts

I need this to develop some payment modules.
Usually when initializing Currency(), we pass currency id.
I need to initialize the object Currency() knowing only currency ISO code .
So, first of all I need to get the currency id by its ISO code. How I can do it?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...