- fix callback hemat
This commit is contained in:
parent
bc45617211
commit
cff473abd9
|
@ -137,7 +137,7 @@ export class PpobCallbackController {
|
||||||
async getHemat(@Req() request: FastifyRequest) {
|
async getHemat(@Req() request: FastifyRequest) {
|
||||||
const response = request.query;
|
const response = request.query;
|
||||||
|
|
||||||
if (response['statuscode'] == 2) {
|
if (response['msg'] != 'Transaksi Sukses') {
|
||||||
//TODO: UPDATE GAGAL
|
//TODO: UPDATE GAGAL
|
||||||
await this.transactionService.checkCallbackOrderFailed(
|
await this.transactionService.checkCallbackOrderFailed(
|
||||||
response['clientid'],
|
response['clientid'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user