M
M
Maxim Tkach2016-12-16 22:07:02
Classmates
Maxim Tkach, 2016-12-16 22:07:02

Can you give an example of opening a payment?

Can you give an example of opening a payment? without additional login window on php
TID is a token

$sign=md5("application_key={$public}code=1name=Payprice=1".md5($_COOKIE['TID'].$params['client_secret']));
echo'<a href="http://m.ok.ru/api/show-payment?application_key='.$public.'&access_token='.$_COOKIE['TID'].'&sig='.$sign.'&code=1&name=Pay&price=1">aaa</a>';

the code above was written by api does not cut, so that immediately redirect to payment and not like heredb006f6a02034de8826125d14457e7da.PNG

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question