Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
shaxzodbek-uzb committed Apr 9, 2019
1 parent 4e6b1a5 commit 02c90cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http/Classes/Payme/Payme.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,14 @@ 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,
]);

PaymentService::payListener(null,$transaction,'after-pay');


break;

Expand Down

0 comments on commit 02c90cd

Please sign in to comment.