Closed hlgrondijs closed 3 weeks ago
To reproduce:
Install this repository according to instructions (python -m venv .venv and onwards), then run with python examples/app.py.
python -m venv .venv
python examples/app.py
Open browser and click on the example 01-new-payment-using-qrcode
Get error
qr_code = payment.details["qrCode"] TypeError: 'NoneType' object is not subscriptable
I have the same error in my own code. payment.details is None. How do I access my qrCode and please update the example code.
payment.details
None
Good catch, thanks! For the QR code to work, the method must be set to either ideal or bancontact, see the create payment docs. I have updated the example accordingly.
method
ideal
bancontact
To reproduce:
Install this repository according to instructions (
python -m venv .venv
and onwards), then run withpython examples/app.py
.Open browser and click on the example 01-new-payment-using-qrcode
Get error
I have the same error in my own code.
payment.details
isNone
. How do I access my qrCode and please update the example code.