python-redsys
python-redsys copied to clipboard
Missing Ds_Card_Number in response MERCHANT_PARAMETERS_MAP
Hi,
I'm using it in my project and notice that response returns error trying to retrieve Ds_Card_Number, so I wasn't able to check payment status. I've solved it just modifying response.py
1: Adding the var: CARD_NUMBER = "Ds_Card_Number"
2: including it into MERCHANT_PARAMETERS_MAP:
MERCHANT_PARAMETERS_MAP = { "response": RESPONSE, "date": DATE, "hour": HOUR, ... "card_number": CARD_NUMBER }
Regards.
That you for the report. If you want, you can fix it making a PR ;)