Open Otaznicek opened 3 weeks ago
@Otaznicek, I did not test the functionality manually when developing it because I missed the testing documentation. But now I found it.
Currently, I created and finalized an order and it is in the "WAITING_SETTLEMENT" state. As I understand it, the first "normal" payment must be "SETTLED", only then the gateway will store a "template_id" for it. I did not find any option to move the payment to the "SETTLED" immediately, so I should wait...
So:
@Otaznicek, I don't get the point about missing Content-Type header. The library sends "application/json"...
@Otaznicek, despite payment being "SETTLED" now, I get a "Template not found" error when calling OneClick Echo/Init. So I don't know how to proceed with it. I wrote a question to CSOB support, perhaps they could help...
When calling the oneclick_process() function, the API returns an empty response. This issue occurs even when setting the parameter client_initiated = False.
After contacting ČSOB about this problem, I was informed that the missing Content-Type header could be the cause of the issue.