Skip to content

Commit

Permalink
adding new gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Nov 29, 2023
1 parent 0aed3ab commit 9a148dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion say/api/payment_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def _verify_payment(payment_id, order_id, gateway):
):
return make_response(unsuccessful_response)

transaction_date = datetime.fromtimestamp(int(response["date"]))
transaction_date = response["date"]
gateway_track_id = response["track_id"]
verified = datetime.fromtimestamp(int(response["verify"]["date"]))
card_no = response["payment"]["card_no"]
Expand Down

0 comments on commit 9a148dd

Please sign in to comment.