eboutic: add some help and documentation for the payment system

This commit is contained in:
klmp200 committed 2019-05-27 11:20:57 +02:00
1 parent c219e47621
commit 8129e6923a
1 file changed
+3 -1
+3 -1
View File
@@ -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()
): ):