Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
godfredtenkorang committed Oct 17, 2024
1 parent 07d47d8 commit efc1f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ussd/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def send_response(msg, msgtype=True):
elif level == 'payment':
amount = session.amount * 100
telephone = msisdn
endpoint = "https://api.paystack.co/charge/submit_pin"
endpoint = "https://api.paystack.co/charge"
email = f"{msisdn}@voteafric.com"
amount_in_kobo = int(Decimal(amount) * 100) # Convert to kobo

Expand Down

0 comments on commit efc1f85

Please sign in to comment.