wip
This commit is contained in:
@@ -89,8 +89,7 @@ class SberPaymentOrderFieldsForDetail
|
|||||||
Text::make(
|
Text::make(
|
||||||
name: __('Goýum hasaby'),
|
name: __('Goýum hasaby'),
|
||||||
attribute: 'deposit_account'
|
attribute: 'deposit_account'
|
||||||
)
|
)->displayUsing(fn ($value) => $value ? $value : '-'),
|
||||||
->rules('required', 'max:255'),
|
|
||||||
])->minRows(1)->rules('required'),
|
])->minRows(1)->rules('required'),
|
||||||
|
|
||||||
SimpleRepeatable::make(__('Payee information'), 'payment_reciever', [
|
SimpleRepeatable::make(__('Payee information'), 'payment_reciever', [
|
||||||
|
|||||||
@@ -274,8 +274,7 @@ class NovaSberPaymentOrder extends Resource
|
|||||||
Text::make(
|
Text::make(
|
||||||
name: __('Goýum hasaby'),
|
name: __('Goýum hasaby'),
|
||||||
attribute: 'deposit_account'
|
attribute: 'deposit_account'
|
||||||
)
|
),
|
||||||
->rules('required', 'max:255'),
|
|
||||||
])->minRows(1)->rules('required'),
|
])->minRows(1)->rules('required'),
|
||||||
|
|
||||||
SimpleRepeatable::make(__('Payee information'), 'payment_reciever', [
|
SimpleRepeatable::make(__('Payee information'), 'payment_reciever', [
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ trait HandlesBillingSyncing
|
|||||||
|
|
||||||
$request = new Request(
|
$request = new Request(
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
uri: 'http://10.3.158.102:8888/api/paytrn/new',
|
uri: 'http://10.3.158.102:9999/api/paytrn/new',
|
||||||
headers: [
|
headers: [
|
||||||
'Content-Type' => 'application/json',
|
'Content-Type' => 'application/json',
|
||||||
'Authorization' => 'Basic YWRtaW46UUFad3N4MTIz',
|
'Authorization' => 'Basic YWRtaW46UUFad3N4MTIz',
|
||||||
@@ -50,16 +50,16 @@ trait HandlesBillingSyncing
|
|||||||
$client = new Client;
|
$client = new Client;
|
||||||
$response = $client->sendAsync($request)->wait();
|
$response = $client->sendAsync($request)->wait();
|
||||||
|
|
||||||
// curl --location --request POST 'http://10.3.158.102:8888/api/paytrn/new' \
|
// curl --location 'http://10.3.158.102:9999/api/paytrn/new' \
|
||||||
// --header 'Authorization: Basic YWRtaW46UUFad3N4MTIz' \
|
|
||||||
// --header 'Content-Type: application/json' \
|
// --header 'Content-Type: application/json' \
|
||||||
// --data-raw '{
|
// --header 'Authorization: Basic YWRtaW46UUFad3N4MTIz' \
|
||||||
// "ecomId" : "0c406ee2-097d-42f7-86c8-18127bd87e10",
|
// --data '{
|
||||||
// "agentId" : "1307",
|
// "ecomId" : "12345-12345-12345-12345",
|
||||||
// "eposId" : "30400225",
|
// "agentId" : "1304",
|
||||||
// "account" : "4324234234",
|
// "eposId" : "30401238",
|
||||||
// "rnn" : "002959773584",
|
// "account" : "130420912769753",
|
||||||
// "amount" : 0.1,
|
// "rnn" : "110784016238",
|
||||||
|
// "amount" : 895.46,
|
||||||
// "payPurpose" : "Mart 2025"
|
// "payPurpose" : "Mart 2025"
|
||||||
// }'
|
// }'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user