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