Answer the question
In order to leave comments, you need to log in
Is it possible to make several forms of payment on one site in Robokassa?
Hello.
You need to add several forms to the site with different functions - "replenishment of the user's balance", "purchase of goods".
Accordingly, these payments should have different resultUrl and successUrl, it is also desirable to be able to test them separately. I did not find anything similar in the documentation, technical support is still silent.
Has anyone done this?
Answer the question
In order to leave comments, you need to log in
As far as I remember, some parameters can be passed back to resultUrl and successUrl, like a product code or even custom parameters (even easier then).
Then you can reserve some codes for the types of services.
For example, /successUrl?code=1 (1 - account replenishment)
/successUrl?code=123 (any number greater than 1 - purchase of goods)
Look more precisely in the API description.
Here, based on these parameters, visualize the displayed page.
Well, forms, of course, you can create as many as you want
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question