Skip to main content

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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page