Merge branch 'development' into 'devops-staging'
fix: callback ppob See merge request empatnusabangsa/ppob/ppob-backend!178
This commit is contained in:
commit
0ed4cd1934
|
@ -59,7 +59,8 @@ export class PpobCallbackController {
|
|||
null,
|
||||
null,
|
||||
false,
|
||||
)
|
||||
response['message'],
|
||||
);
|
||||
|
||||
return {
|
||||
statusCode: HttpStatus.OK,
|
||||
|
@ -73,7 +74,8 @@ export class PpobCallbackController {
|
|||
response['refid'],
|
||||
Number(splitMessage[9].replace(/^\D+/g, '')),
|
||||
Number(splitMessage[11].replace(/^\D+/g, '')),
|
||||
true
|
||||
true,
|
||||
response['message'],
|
||||
);
|
||||
//
|
||||
} else {
|
||||
|
|
|
@ -1847,6 +1847,7 @@ export class TransactionService {
|
|||
amount: number,
|
||||
admin: number,
|
||||
status: boolean,
|
||||
message: string,
|
||||
) {
|
||||
const billData = await this.findOneBillById(trxId);
|
||||
console.log(billData,"ini dia")
|
||||
|
@ -1864,6 +1865,7 @@ export class TransactionService {
|
|||
amount: status ? amount + product_price.partner_fee + product_price.mark_up_price : 0,
|
||||
admin_price: admin,
|
||||
status: status ? 'SUCCESS' : 'FAILED',
|
||||
callback_json: JSON.stringify(message),
|
||||
},
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user