python-redsys icon indicating copy to clipboard operation
python-redsys copied to clipboard

Missing Ds_Card_Number in response MERCHANT_PARAMETERS_MAP

Open Malberix opened this issue 4 years ago • 1 comments

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.

Malberix avatar Apr 19 '21 08:04 Malberix

That you for the report. If you want, you can fix it making a PR ;)

ddiazpinto avatar Apr 21 '21 12:04 ddiazpinto