django-oscar / django-oscar-paypal

PayPal integration for django-oscar. Can be used without Oscar too.
https://django-oscar-paypal.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
164 stars 215 forks source link
django django-oscar ecommerce oscar payment paypal python

=============================== PayPal package for django-oscar

This package provides integration between django-oscar and both PayPal REST API, PayPal Express (NVP) and PayPal Payflow Pro.

.. django-oscar: https://github.com/django-oscar/django-oscar .. PayPal REST API: https://developer.paypal.com/docs/api-basics/ .. PayPal Express (NVP): https://developer.paypal.com/docs/nvp-soap-api/ .. PayPal Payflow Pro: https://merchant.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=merchant/payment_gateway

These payment options can be used individually or together. Further, the package is structured so that it can be used without Oscar if you so wish.

.. Full documentation: https://django-oscar-paypal.readthedocs.io/en/latest/ .. Continuous integration status: http://travis-ci.org/#!/django-oscar/django-oscar-paypal?branch=master

License

The package is released under the New BSD license_.

.. _New BSD license: https://github.com/django-oscar/django-oscar-paypal/blob/master/LICENSE

Support

Having problems or got a question?

.. _@django_oscar: https://twitter.com/django_oscar .. contributing guide: https://django-oscar-paypal.readthedocs.io/en/latest/contributing.html .. django-oscar@googlegroups.com: https://groups.google.com/forum/?fromgroups#!forum/django-oscar .. _Github: http://github.com/django-oscar/django-oscar-paypal

Tests

.. image:: https://github.com/django-oscar/django-oscar-paypal/workflows/Tests/badge.svg

.. image:: http://codecov.io/github/django-oscar/django-oscar-paypal/coverage.svg?branch=master :alt: Coverage :target: http://codecov.io/github/django-oscar/django-oscar-paypal?branch=master

Changelog

2.0.0 (released December 20th, 2019)

1.0.0 (released May 30th, 2018)

0.9.7 (released January 12th, 2016)

.. #98: https://github.com/django-oscar/django-oscar-paypal/issues/98 .. #121: https://github.com/django-oscar/django-oscar-paypal/pull/121

0.9.6 (released November 13th, 2015)


* Add support for Oscar 1.1 and Django 1.8.
* Drop support for Django 1.6 and Oscar 0.7.
* Store submitted shipping method instead of falling back to ``FixedPrice``. `#107`_
* Display original Paypal error message instead of generic error message. `#101`_
* Bugfix: Hide form buttons as expected. `#94`_
* Bugfix: Correct signature for call to ``get_shipping_methods``. `#99`_
* Bugfix: Don't fail in countries without postcode. `#100`_

.. _`#94`: https://github.com/django-oscar/django-oscar-paypal/pull/94
.. _`#99`: https://github.com/django-oscar/django-oscar-paypal/issues/99
.. _`#100`: https://github.com/django-oscar/django-oscar-paypal/issues/100
.. _`#101`: https://github.com/django-oscar/django-oscar-paypal/pull/101
.. _`#107`: https://github.com/django-oscar/django-oscar-paypal/pull/107

0.9.5

0.9.4


* Use Bankcard.number instead of the deprecated Bankcard.card_number attribute.
* Add support for Django 1.7 and Oscar 1.0.
* Drop support for Oscar 0.6 and Django 1.5.

0.9.3

.. _#81: https://github.com/django-oscar/django-oscar-paypal/pull/81

0.9.2


* Include templates in package (they were missing from 0.9.1)
* Dynamically load view classes in Express views module

0.9.1

0.9

* Support Oscar 0.7 (note that this release only works with 0.7.1 onwards)
* Drop support for Oscar 0.5
* Fix bug around unicode handling
* Allow scheme of callback URL to be specified in a setting

0.8.1

0.8

* Support Oscar 0.6
* Fix bug with offers not being applied to basket on return from PayPal site.

0.7

0.6.1

* Persist shipping method name when using PayPal Express as a payment method
  only.

0.6

0.5

* Addresses a `security issue`_ where baskets could be manipulated while the
  customer was on the PayPal site.  This would cause the final order to contain
  more items that were paid for.

.. _`security issue`: https://github.com/django-oscar/django-oscar-paypal/pull/24

0.4.1

0.4

* We now require Oscar >= 0.5
* Full i18 support
* New dashboard views for PayPal Express

0.3.3

0.3.2

* Pass shipping address name when using Express checkout
* Docs update

0.3.1

0.3

* Order discounts are now passed correctly to PayPal as separate lines
* Fix unicode issue when reading data back from PayPal
* Use Tox for testsuite

0.2.5

0.2.4

* Fix bug with installing templates

0.2.3

0.2.2

* Add support for specifying transaction currency

0.2.1

0.2

Includes support for Payflow Pro.

0.1

Includes support for Express Checkout.