This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Korta

Python client fyrir Kortaþjónustuna. Mjög minimal og mjög beta í augnablikinu.

Notkun

Af því gefnu að þú sért með aðgangsupplýsingar frá kortu:

>>> from korta.client import Client, CreditCard, Order, korta_reference
>>> c = Client('/path/to/my/pem', '/path/to/my/crt',
...    'user_id', 'password', 'site_id', 'acceptor_id',
...    'acceptor_terminal')
>>> ref = korta_reference()
>>> c.one_off(Order(ref, 2000), CreditCard(number, month, year, ccv))

Uppsetning

Til að setja upp þarf að keyra:

$ python setup.py install

Prófanir

Af því gefnu að þú sért með aðgangsupplýsingar frá kortu.

  1. Búðu til userconfig.ini á sama leveli og setup.py með eftirfarandi gildum:

    [korta]
    user = user
    password = password
    site_id = number_from_korta
    card_acceptor_id = number_from_korta
    card_acceptor_identity = number_from_korta
    host = test.kortathjonustan.is
    pem_path = certs/test.rpcs.kortathjonustan.is.crt.pem
    ca_path = certs/ca-bundle.crt
    
  2. Setja upp nose:

    $ pip install nose
    
  3. Keyra:

    $ nosetests
    

Athugasemdir

  • Þarfnast pycurl, hef því ekki hugmynd hvort það virki á Windows.
  • Default ssl pakkinn í Python styður ekki password callbackið úr openssl, ástæðan fyrir pycurl

Böggar og patchar

Þróun fer fram á github: http://github.com/StefanKjartansson/Korta

Release History

Release History

0.1.4.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.4.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
korta-0.1.4.2.tar.gz (12.0 kB) Copy SHA256 Checksum SHA256 Source Jun 10, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting