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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top