andela-sjames / paystack-python

Python plugin for Paystack
https://pypi.python.org/pypi/paystackapi
MIT License
110 stars 44 forks source link

Trying to initialize my transaction in USD, Since the default is NGN? #52

Closed nodebe closed 5 years ago

nodebe commented 5 years ago

response = Transaction.initialize(reference=uuid, amount=amount, email='myemail@gmail.com', currency='USD') But it is returning unauthorized

andela-sjames commented 5 years ago

Did you set your secret key?

nodebe commented 5 years ago

yes I did

nodebe commented 5 years ago

the currency parameter is not passing. It passes sucessfully when I remove the currency. How can I make the user see that he/she is paying in dollars

andela-sjames commented 5 years ago

@nodebe please reference Paystack as this is not an issue with the Library https://paystack.com/blog/product/new-accept-payments-in-usd

This link talks about enabling it from your Paystack account dashboard. I know this because I had a chat with the Paystack team sometime ago.