mirror of
https://github.com/ae-utbm/sith.git
synced 2024-10-31 19:38:04 +00:00
Merge branch 'eboutic' into 'master'
eboutic: add some help and documentation for the payment system See merge request ae/Sith!207
This commit is contained in:
commit
d466d645e6
@ -239,11 +239,13 @@ class EbouticPayWithSith(TemplateView):
|
|||||||
|
|
||||||
|
|
||||||
class EtransactionAutoAnswer(View):
|
class EtransactionAutoAnswer(View):
|
||||||
|
# Response documentation http://www1.paybox.com/espace-integrateur-documentation/la-solution-paybox-system/gestion-de-la-reponse/
|
||||||
def get(self, request, *args, **kwargs):
|
def get(self, request, *args, **kwargs):
|
||||||
if (
|
if (
|
||||||
not "Amount" in request.GET.keys()
|
not "Amount" in request.GET.keys()
|
||||||
or not "BasketID" in request.GET.keys()
|
or not "BasketID" in request.GET.keys()
|
||||||
or not "Auto" in request.GET.keys()
|
or not "Auto"
|
||||||
|
in request.GET.keys() # If not in the request it means the payment has been refused
|
||||||
or not "Error" in request.GET.keys()
|
or not "Error" in request.GET.keys()
|
||||||
or not "Sig" in request.GET.keys()
|
or not "Sig" in request.GET.keys()
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user