Skip to content

Releases: gopaycommunity/gopay-python-api

Release 2.2.0

Choose a tag to compare

@geeshta geeshta released this 04 Sep 09:46
7ac11c1

Fixed embed URL JS

Choose a tag to compare

@gopayprovoz gopayprovoz released this 23 Jun 12:30
a5d9e2f
  • 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

Choose a tag to compare

@geeshta geeshta released this 07 Jun 20:09

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

Choose a tag to compare

@FSichinger FSichinger released this 21 Jun 12:42

Added SuperCASH batch features

v1.0.0

Choose a tag to compare

@zdenekdrahos zdenekdrahos released this 02 Dec 11:11
  • Call every API method without validation
  • Cache access token
  • Log HTTP communication