Skip to content

Commit 0a42b12

Browse files
authored
Merge pull request #3 from polrodoreda94/fix-response
fix: add Ds_Amount_Euro parameter to response
2 parents 040964d + 44178f3 commit 0a42b12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redsys/response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
SECURE_PAYMENT = "Ds_SecurePayment"
2020
AUTHORIZATION_CODE = "Ds_AuthorisationCode"
2121
ERROR_CODE = "Ds_ErrorCode"
22+
AMOUNT_EURO = "Ds_Amount_Euro"
2223
PROCESSED_PAY_METHOD = "Ds_ProcessedPayMethod"
2324

2425
RESPONSE_MAP = {
@@ -81,6 +82,7 @@
8182
"secure_payment": SECURE_PAYMENT,
8283
"authorization_code": AUTHORIZATION_CODE,
8384
"error_code": ERROR_CODE,
85+
"amount_euro": AMOUNT_EURO,
8486
"processed_pay_method": PROCESSED_PAY_METHOD,
8587
}
8688

0 commit comments

Comments
 (0)