djpg is a Django module that integrates with the online payment service PagSeguro.
Project description
djpg is a Django module that integrates with the online payment service PagSeguro.
Sample:
import djpg cart = djpg.Cart(reference='1234', redirect_url='https://github.com/') item = djpg.Item(id='1', description='Cool T-shirts!', amount=25.00, quantity=2) cart.add_item(item) code = cart.checkout() if code: return cart.proceed(code)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djpg-0.1.0.tar.gz
(3.9 kB
view hashes)