Skip to content

Commit

Permalink
Change order status for rvvup admin orders
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Onufriichuk committed May 9, 2024
1 parent f356a2d commit 6d81462
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Service/PaymentLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private function getData(string $amount, string $storeId, string $orderId, strin
$headers = [
'Content-Type: application/json',
'Accept: application/json',
'Idempotency-Key' => $orderId,
'Idempotency-Key: ' . $orderId,
'Authorization: Bearer ' . $token
];

Expand Down
2 changes: 1 addition & 1 deletion Service/VirtualCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ private function getHeaders(string $storeId, ?string $orderId = null)
];

if ($orderId) {
$result['Idempotency-Key'] = $orderId;
$result[] = 'Idempotency-Key: ' . $orderId;
}

return $result;
Expand Down
4 changes: 2 additions & 2 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<allowspecific>0</allowspecific>
<can_use_internal>1</can_use_internal>
<can_use_checkout>0</can_use_checkout>
<can_initialize>0</can_initialize>
<can_initialize>1</can_initialize>
<can_capture>0</can_capture>
<can_cancel>1</can_cancel>
<can_void>1</can_void>
Expand All @@ -70,7 +70,7 @@
<allowspecific>0</allowspecific>
<can_use_internal>1</can_use_internal>
<can_use_checkout>0</can_use_checkout>
<can_initialize>0</can_initialize>
<can_initialize>1</can_initialize>
<can_capture>0</can_capture>
<can_void>1</can_void>
<can_refund_partial_per_invoice>1</can_refund_partial_per_invoice>
Expand Down

0 comments on commit 6d81462

Please sign in to comment.