Skip to content

Commit

Permalink
Merge pull request #19 from rvvup/feature/separate-auth-payment-flow
Browse files Browse the repository at this point in the history
Added capture type and authorization expire fields
  • Loading branch information
andrii-onufriichuk authored Nov 30, 2023
2 parents e99baee + f540d5f commit c9188ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/GraphQlSdk.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public function getMethods(string $cartTotal = null, string $currency = null, ar
}
expiresAt
}
captureType
settings {
assets {
assetType
Expand Down Expand Up @@ -303,7 +304,8 @@ public function getMethods(string $cartTotal = null, string $currency = null, ar
"logoUrl" => $method["logoUrl"],
"assets" => $method["assets"],
"limits" => $method["limits"],
"settings" => $method["settings"] ?? null
"settings" => $method["settings"] ?? null,
"captureType" => $method["captureType"],
];
}
return $methods;
Expand Down Expand Up @@ -465,6 +467,8 @@ public function getOrder(string $orderId)
payments {
id
status
authorizationExpiresAt
captureType
}
}
}
Expand Down

0 comments on commit c9188ea

Please sign in to comment.