diff --git a/src/Http/Classes/Payme/Payme.php b/src/Http/Classes/Payme/Payme.php index e94faee..7c02522 100644 --- a/src/Http/Classes/Payme/Payme.php +++ b/src/Http/Classes/Payme/Payme.php @@ -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: