J
J
JohnDaniels2019-01-14 19:08:27
ROBOKASSA
JohnDaniels, 2019-01-14 19:08:27

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

2 answer(s)
M
mletov, 2019-01-14
@JohnDaniels

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

A
abbaboka, 2019-01-14
@abbaboka

All payments are identified.
You can easily identify by account number.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question