Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Ds_Card_Number in response MERCHANT_PARAMETERS_MAP #13

Open
Malberix opened this issue Apr 19, 2021 · 1 comment
Open

Missing Ds_Card_Number in response MERCHANT_PARAMETERS_MAP #13

Malberix opened this issue Apr 19, 2021 · 1 comment
Labels

Comments

@Malberix
Copy link

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.

@ddiazpinto
Copy link
Owner

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

@ddiazpinto ddiazpinto added the bug label Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants