blackseabreathe
@blackseabreathe
brackets

Не передается email покупателя в Юкассу платежную форму?

Здравствуйте, вот запрос к юкассе.

spoiler
$client = new Client();
$client->setAuth('xxxx', 'test_xxxxxxxxxxxxx');



$payment = $client->createPayment(
array(
'amount' => array(
'value' => $price,
'currency' => 'RUB',
),
'receipt' => array(
'email' => $email,  // пробую так
'cps_email' => $email,  // пробую так
'customer' => array(
'full_name' => $fio,
'email' => $email,  // пробую так
'cps_email' => $email  // пробую так
),
'items' => array(
array(
'description' => $description,
'quantity' => '1.00',
'amount' => array(
'value' => $price,
'currency' => 'RUB'
),
'vat_code' => 1
)
)
),
'confirmation' => array(
'type' => 'redirect',
'return_url' => 'https://xxxxxxxxxxxx',
),
'capture' => true,
'description' => $description
),
uniqid('', true)
);


В итоге поле "получить квитанцию" пустое.

6221c0d85d295357837878.png
  • Вопрос задан
  • 113 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
YCLIENTS Москва
от 200 000 до 350 000 ₽
Ведисофт Екатеринбург
от 25 000 ₽
Бюро Цифровых Технологий Санкт-Петербург
от 120 000 до 180 000 ₽
07 мая 2024, в 11:02
300 руб./за проект
07 мая 2024, в 10:56
500 руб./за проект
07 мая 2024, в 10:52
15000 руб./за проект