wip
This commit is contained in:
1 parent
0e970d7e23
commit
2936e1081d
1 file changed
+2
@@ -147,6 +147,8 @@ public static function redirectAfterUpdate(NovaRequest $request, $resource): URL
|
||||
{
|
||||
$payment = (new OnlinePaymentRepo())->payCardOrder($resource);
|
||||
|
||||
info([$payment]);
|
||||
|
||||
return $payment['status'] === 'success'
|
||||
? URL::remote($payment['url'])
|
||||
: sprintf('resources/%s/%s', static::uriKey(), $resource->getKey());
|
||||
|
||||
Reference in new issue
Block a user