1 I have a form on my site connected to Platnosci24 API, everything is configured and works well for a long time, but I need to change one thing. When making a payment whether it is successful or not, it redirects to my X page. I want to change so that only successful payments are redirected to page X, and for canceled payments (e.g. cancellation during) redirected to page Y
2.At the payment there is an option to add discount codes and I already have such a function done (there is a connection to the database and I enter the codes and their values there), but there is only an option to add codes with the value of percentages e.g. discount 10%, 15%, etc. I want to introduce a fixed amount option, i.e. discount by a specific amount: 400zł etc.