Invoice remains unpaid after shopping cart payment

for some reason the invoice remains ‘unpaid’ after I do the payment in the shopping cart using credit card payment (in this case stripe).

I process the payment:

then I get this weird message: “payment entry ACC-PAY-2019-000XX is linked against Order SAL-ORD-2019-000XX, check if it should be pulled as advance in this invoice”


after 3 seconds that weird message disappears and I get the ‘successful payment’ message; then I check the order and it says ‘paid’


but if I check the invoice, it has status ‘unpaid’


I have seen it work in older versions, for some reason it is not working in this version

does anybody know what that message is? has anybody run into this issue?

I’m running the following version:

Installed Apps
ERPNext: v11.1.56 (version-11)
Frappe Framework: v11.1.52 (version-11)


I also got this issue. And still NOT FIXED on ERPNext: v12.6.0 and Frappe: v12.4.1!