Add payment provider specific details to the API

This commit is contained in:
Raphael Michel
2019-08-30 17:04:22 +02:00
parent e3a4ec93fc
commit aa99dbc830
9 changed files with 81 additions and 13 deletions

View File

@@ -160,6 +160,10 @@ TEST_PAYMENTS_RES = [
"payment_date": "2017-12-01T10:00:00Z",
"provider": "stripe",
"payment_url": None,
"details": {
"id": None,
"payment_method": None
},
"state": "refunded",
"amount": "23.00"
},
@@ -169,6 +173,7 @@ TEST_PAYMENTS_RES = [
"payment_date": None,
"provider": "banktransfer",
"payment_url": None,
"details": {},
"state": "pending",
"amount": "23.00"
}