Skip to content

Commit

Permalink
payme
Browse files Browse the repository at this point in the history
  • Loading branch information
shaxzodbek-uzb committed Apr 9, 2019
1 parent 02c90cd commit 4ee7a1c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Http/Classes/Payme/Payme.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,13 @@ private function PerformTransaction()
case Transaction::STATE_COMPLETED: // handle complete transaction
$detail = json_decode($transaction->detail,true);
PaymentService::payListener(null,$transaction,'after-pay');

$this->response->success([
'transaction' => (string)$transaction->id,
'perform_time' => 1*$detail['perform_time'],
'state' => 1*$transaction->state,
]);




break;

default:
Expand Down

0 comments on commit 4ee7a1c

Please sign in to comment.