Answer the question
In order to leave comments, you need to log in
How to connect yii2 with interkassa?
Guys tell me.
I connect interkassa. Problem with receiving a response.
I send a request:
_form.php
<?php $form = ActiveForm::begin([
'method' => 'post',
'action' => 'https://sci.interkassa.com/#/paysystem',
]); ?>
<?= Html::activeTextInput($model, 'ik_co_id', [ 'name' => 'ik_co_id','value' => '11111111111111111']) ?>
<?= Html::activeTextInput($model, 'ik_pm_no', [ 'name' => 'ik_pm_no','value' => '11111']) ?>
<?= Html::activeTextInput($model, 'ik_am', [ 'name' => 'ik_am','value' => '100']) ?>
<?= Html::activeTextInput($model, 'ik_cur', [ 'name' => 'ik_cur','value' => 'USD']) ?>
<?= Html::activeTextInput($model, 'ik_desc', [ 'name' => 'ik_desc','value' => 'Description']) ?>
exception 'yii\base\InvalidParamException' with message 'The view file does not exist: /..../public_html/frontend/views/site/error.php' in /..../public_html/vendor/yiisoft/yii2/base/View.php:226
Stack trace:
Previous exception:
exception 'yii\web\BadRequestHttpException' with message 'Не удалось проверить переданные данные.' in /..../public_html/vendor/yiisoft/yii2/web/Controller.php:110
Stack trace:
'model' => $model,
'attributes' => [
'ik_co_id',
'ik_inv_id',
'ik_inv_st',
'ik_inv_crt',
'ik_inv_prc',
'ik_pm_no',
'ik_pw_via',
'ik_am',
'ik_co_rfn',
'ik_ps_price',
'ik_cur',
'ik_desc',
],
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question