Thank you Babutunde,
So you are saying that the price = models.DecimalField(max_digits=20,
decimal_fields=2) will automatically sense it that what currency it is or
if someone wants to pay me in different currency how would a payment
processor will change currency value?

Also I need my currency to be localized upon the location of access. For
example if my client is in US he should get USD based prices and if someone
in Japan he should see Yen. How would I do it?
Regards,
Ali

On Sun, Aug 7, 2016 at 3:01 PM, Babatunde Akinyanmi <tundeba...@gmail.com>
wrote:

> Hello Khan,
> Your payment processor will specify in its API how it determines currency.
> This is not a django problem. I'm sure the answer to your question lies in
> the documentation of Stripe and Braintree
>
> On 7 Aug 2016 18:46, "A.Khan" <alipathan123...@gmail.com> wrote:
>
>> Hi I am new to Django and I need to implement multiple currency options
>> based on user's preference. What I don't understand that let's say I am in
>> Pakistan and I've used in my template simply
>>
>> <h3>PKR {{ object.price }} </h3>.
>>
>> Now I need to understand how would a payment processor will determine
>> what currency I am using for example if I am using above tag and someone
>> needs to pay me with localized currency equaling to my currency amount
>> using Credit Cart or whatever.
>>
>> Secondly I need to implement multiple currencies that user can select
>> currency option for payment. Can you please tell me the simplest way
>> possible to achieve it.
>>
>> This is not a necessity at this point but just in case I need to
>> implement a use case that Django provides localized currency automatically
>> if website accessed from a particular location what do I need to do.
>>
>> I need to implement Braintree and Stripe with Paypal and Credit cards
>> both for testing on two different projects. As I said I am a beginner so
>> not sure if its a qualified question.
>> Please advise.
>>
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/django-users/51b5e211-0b03-4423-b1c2-2b42aaa92ba8%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/51b5e211-0b03-4423-b1c2-2b42aaa92ba8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CA%2BWjgXMBCeVRi0wTSxnv7-ZHcAMCdx8c9cvFNVFQe3dxiP1qjQ%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BWjgXMBCeVRi0wTSxnv7-ZHcAMCdx8c9cvFNVFQe3dxiP1qjQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAXvsYnd%3D0uePhTn4M5PR1ixi8K3JC%2BcqpyYkkc-AD7qRsxCLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to