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](https://doc.gopay.com) 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](https://doc.gopay.com#payment-cards)
- 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.