Question

The subject. When tested manually, the payment_status field was always present in the request. But there are a few entries in the log which indicate that, after

payment_status = request.form.get('payment_status')

payment_status was None.

Is such an occurrance possible - or am I missing something?

Was it helpful?

Solution

After re-reading the docs, I see that this field is not mandatory for all transaction types.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top