-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add confirm api mpesa endpoint | remove print statements
- Loading branch information
1 parent
ea81885
commit 8cd0540
Showing
4 changed files
with
11 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
from django.contrib import admin | ||
from django.urls import path | ||
from django.conf.urls import url, include | ||
from .views import SubmitView, CheckTransaction | ||
from .views import SubmitView, CheckTransaction, ConfirmView | ||
|
||
mpesa_urls = [ | ||
url(r'^submit/', SubmitView.as_view(), name='submit'), | ||
url(r'^confirm/', ConfirmView.as_view(), name='confirm'), | ||
url(r'^checktransaction/', CheckTransaction.as_view(), name='check_transaction'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters