A
A
Anna2020-09-10 16:14:28
1C-Bitrix
Anna, 2020-09-10 16:14:28

How to transfer dynamic SuccessUrl to Yandex Checkout?

I ran into a problem when setting up the Yandex Checkout payment system. It is necessary to generate a link of the form page address + ORDER_ID and pass it to Yandex so that the client can return to this page after payment.

In the payment systems section of Yandex Checkout, you can specify the url of the page to which the client will return after payment (button back to the store).
But there you can either set a direct address to a specific page, or leave the field empty, then the client will return to the page where he was transferred from Yandex Checkout.
However, there are a bunch of other order, payment, and other parameters (including order number, order and payment id, etc.) that I didn’t find a word about in the documentation. Bitrix support was also unable to suggest (it seems that they also do not know why these settings were added).

Is it possible to create a dynamic url using these options in the admin, and if not, how can I pass the url in another way?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2020-09-10
@anton99zel

just write
https://site.ru/#ORDER_ID#/
or on the profile
https://site.ru/personal/orders/#ORDER_ID#/
something like this)
from the docks:

The text may contain tags: #PAYMENT_ID# - payment ID, #ORDER_ID# - order ID, #PAYMENT_NUMBER# - payment number, #ORDER_NUMBER# - order number, #USER_EMAIL# - buyer's email

A
Anna, 2020-09-15
@Anna_Belikova01

Unfortunately, this doesn't work. The last characters are erased and it turns out https://site.ru/personal/orders/#ORDER_ID
literally.
Maybe there are other ways or am I doing something wrong?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question