Skip to content

Releases: gopaycommunity/gopay-python-api

Release 2.2.0

04 Sep 09:46
7ac11c1
Compare
Choose a tag to compare

Fixed embed URL JS

23 Jun 12:30
a5d9e2f
Compare
Choose a tag to compare
  • a bug where URL of the embed JS for inline gateway was not generated properly, (see #16) was fixed

2.0.0 Major SDK refactor

07 Jun 20:09
Compare
Choose a tag to compare

In order to add more API methods and for better maintainability between multiple people, the SDK has a major refactor. Most of the basic usage should stay the same but there are some backward incompatible changes:

  • The isProductionMode config option was removed, now always use gateway_url (see docs for the available endpoints)
  • The timeout config options was removed. It didn't really do much.
  • Many parameter names were changed. If you use positional parameters, you should have no problems, but if you used parameter names, this could cause breakage. For example payments.get_status(1234) will still work but payments.get_status(id_payment=1234) will not (the parameter name is now payment_id
  • Many of the internals were renamed and reworked. If you didn't stick to the documentation, this might cause problems
  • Snake case is now prefered in the config, even though camelCase still works for now. However please use client_id etc. when initating the payment gateway
  • Response.has_succeed() is being deprecated. Use Response.success (a property) instead
  • Default services were moved and renamed. The default logger and cache can be found in gopay.services as DefaultCache and default_logger
  • Older methods that are not available with gopay were removed (like SuperCash)
  • New methods were added (for Card ID, see docs
  • The config object is now validated with Pydantic, so if you were passing any other values than the ones documented, that will now cause an error

That is basically all. For basic usage almost everything should work as it did before.

v1.2.0

21 Jun 12:42
Compare
Choose a tag to compare

Added SuperCASH batch features

v1.0.0

02 Dec 11:11
Compare
Choose a tag to compare
  • Call every API method without validation
  • Cache access token
  • Log HTTP communication