The offsite-redirect.js does this:

      $('.payment-redirect-form', context).find('input[type="submit"]').trigger('click');

But some themes (such as Bootstrap) output a button instead of an input element, causing the selector to fail.

We should be able to simply call $('.payment-redirect-form', context).submit() instead.

Comments

bojanz created an issue. See original summary.

  • bojanz committed c568ca2 on 8.x-2.x
    Issue #2838953 by bojanz: The offsite redirect auto-submit fails on some...
bojanz’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.