Git Product home page Git Product logo

django-pardakht's People

Contributors

ali-toosi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

django-pardakht's Issues

How to test payment on local machine ?

hey,
im new at payment stuff, and im trying to connect to Saman gateway using this package.
i did every config you mentioned in REEDME.rst . but everytime a user create a payment, it return -18 as Token, and will raise a DuplicateEntryKey for further payments (because Token is unique and it will set it to -18 for every payment, so its not unique anymore !).

i'm using django 3.0.5, and wanna test payments on my local machine (127.0.0.1:8000/...)

Where is the problem ? why i cant test my payments ?!

Error on migration

Error in python manage.py migrate :

$ python manage.py migrate
SystemCheckError: System check identified some issues:

ERRORS:
pardakht.Payment.token: (mysql.E001) MySQL does not allow unique CharFields to have a max_length > 255.

Token unique property conflicts with bank errors

As you make token unique in your model, it seems that it cause conflicts at two points, first when no token is returned from bank and second when bank return an error such -18 as error code.
Making token unique make sense as it really should be unique, but in such exceptions, it need to be handled carefully.

django-pardakht as a django-payments variant

Hi Dear Alireza,
thanks for this great job, django-pardakht is really helpful for implementing Iranian gateways in Django Web Apps :)
I have some kind of issue, i hope you could help me with:
I'm trying to Implement Django-Pardakht gateways in Saleor E-Commerce Software which uses Django-Payments.

Django-Payment supports some backends which described in the docs.

It would be great if django-pardakht could be implemented as one of django-payments variants.
because i don't want to break saleor's payment functionality.

I was wondering if you'd mind helping me through it?
Thanks in Advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.