Answer the question
In order to leave comments, you need to log in
Why might a request to the Yandex.Checkout API not work?
Hello. Making a request with code
use YandexCheckout\Client;
$client = new Client();
$client->setAuth('.....', '.....');
$payment = $client->createPayment(
array(
'amount' => array(
'value' => 6.0,
'currency' => 'RUB'
),
'confirmation' => array(
'type' => 'redirect',
'return_url' => 'https://site.ru/payment/index.php',
),
),
uniqid('123', true)
Answer the question
In order to leave comments, you need to log in
Are you just executing this code? And where did you get that it is in Bitrix?
Where are you connecting the class?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question