V
V
vadya05052017-09-03 22:00:08
JavaScript
vadya0505, 2017-09-03 22:00:08

How to pass and receive your data in Show.Payment API OK?

Is it possible to somehow transfer any string or number to Show.Payment, so that in the callback function it would be possible to understand what exactly the payment was for. For some reason, only the JSON string "amount: 1" is passed to the callback function. I mean not a PHP payment processing script, but a Javascript API callback function. If possible, please provide an example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2017-09-04
@vadya0505

Yes, the fields name, description, count - for the user, code - for your internal purposes
https://apiok.ru/dev/sdk/js/ui.showPayment
Then you get it when you call back in product_code
https://apiok.ru/ dev/methods/rest/callbacks/callba...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question