After declining a test credit card number, magento should stop spinning the spinner.
Magento does not stop the spinner.
[Screenshot, logs]
In the 2 pictures below, you can see the output from console:

Magento2 also produces a transaction fail message for a short while. After that, message dissapears, and spinner keeps spinning.
In the picture below, there are my settings for the authorize.net payment gateway in magento backend. Magento produces the same situation, regardless if I choose payment action as "authorize and capture" or "authorize only":
On authorize.net interface, I see can the declined transaction (which is OK, because I used test credit card number).
Also, you can check my debug and exception log from var folder (in which I changed all personal data...):
debug.txt
exception.txt
[Additional note]
Setting the authorize payment gateway is the last step to finally go to production with Magento2, so I am really desperately in a need for some useful feedback. Cheers.
Hi @jernejh
This is a duplicate issue, MAGETWO-56932 ticket is already created.
I'm closing this one. Please feel free to reopen if you need.
Are you sure that this is a duplicate issue, since I have https enabled for all my pages?
Will this be fixed in 2.1.2? When is approximate release date?
I desperately need a patch, in order to go to market with the webstore of my client.
Are there any quick alternative temporary solutions to disable the spinner to load indefinitely?
Thank you!
I'm interested if this is a duplicate issue too - my site is all https too. I am on 2.0.7 presently but want to upgrade to 2.1.2 when it comes out. We have the spinning issue and it has haunted us since 2.0.
same problem here... site is fully https, having the exact same issue with success not redirecting to success, failing to show real error messages of declined payments etc... why is magento 2.1.1 so broken?
problem still persists in 2.1.2 :(
yes... problem is still happening on 2.1.2 for me too.
Fix from MAGETWO-56932 ticket will be available for 2.1.3 version.
@joni-jones Any ETA on when 2.1.3 will be released?
Thank You
@joni-jones any commit references?
@joni-jones As I just asked on #5642, can you post the commit(s) where this was fixed? I need to patch this for a merchant and can't wait for 2.1.3 to be released.
@joni-jones Are you sure you have the MAGETWO ticket number correct? I hunted down the file responsible for hiding/showing the spinner for payments (app/code/Magento/Payment/view/frontend/web/js/view/payment/iframe.js) and then looked at the history for that file and found this commit of yours, referencing ticket number MAGETWO-56934 (two digits away from MAGETWO-56932): https://github.com/magento/magento2/commit/2d31571f1bacd11aa2ec795180abf682e0e9aede
I applied that single line patch to my environment and when I placed an invalid Authorize.net order, the spinner did not show forever like it was before.
@erikhansen, the ticket is correct. MAGETWO-56934 contains fix for the develop version, MAGETWO-56932 - for 2.1.3.
@joni-jones Ok. Can you provide a link to the commit for MAGETWO-56932?
@erikhansen, the for 2.1.3 the same as in https://github.com/magento/magento2/commit/2d31571f1bacd11aa2ec795180abf682e0e9aede .
Most helpful comment
same problem here... site is fully https, having the exact same issue with success not redirecting to success, failing to show real error messages of declined payments etc... why is magento 2.1.1 so broken?