Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
		| @@ -182,16 +182,20 @@ export class PpobCallbackController { | |||||||
|     console.log('responsevocagame', response); |     console.log('responsevocagame', response); | ||||||
|     if (response['status'] != 'Success') { |     if (response['status'] != 'Success') { | ||||||
|       //TODO: UPDATE GAGAL |       //TODO: UPDATE GAGAL | ||||||
|  |       if (response['status'] != 'Processing') { | ||||||
|         await this.transactionService.checkCallbackOrderFailed( |         await this.transactionService.checkCallbackOrderFailed( | ||||||
|             response['reference'], |             response['reference'], | ||||||
|             response, |             response, | ||||||
|         ); |         ); | ||||||
|  |       } | ||||||
|     } else { |     } else { | ||||||
|       //TODO: UPDATE BERHASIL |       //TODO: UPDATE BERHASIL | ||||||
|  |       if (response['status'] != 'Processing') { | ||||||
|         await this.transactionService.checkCallbackOrderSuccess( |         await this.transactionService.checkCallbackOrderSuccess( | ||||||
|             response['reference'], |             response['reference'], | ||||||
|             response, |             response, | ||||||
|         ); |         ); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  |   } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user