Skip to content

Commit

Permalink
update webhook service
Browse files Browse the repository at this point in the history
  • Loading branch information
zylcom committed Dec 25, 2023
1 parent 6502a69 commit e2a8a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/webhook-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const webhook = async (notificationJson) => {
status: "success",
payment: {
update: {
amount: statusResponse.gross_amount,
amount: +statusResponse.gross_amount,
method: notificationJson.payment_type,
status: "paid",
signatureKey: statusResponse.signature_key,
Expand All @@ -83,7 +83,7 @@ const webhook = async (notificationJson) => {
status: "success",
payment: {
update: {
amount: statusResponse.gross_amount,
amount: +statusResponse.gross_amount,
method: notificationJson.payment_type,
status: "paid",
signatureKey: statusResponse.signature_key,
Expand Down

0 comments on commit e2a8a94

Please sign in to comment.