Clicking 'Pay and Complete Purchase' on the checkout page is not working and results in an exception being thrown:
"Undefined index: #redirect_url in /Users/thomas/Sites/testproject/modules/contrib/commerce/modules/payment/src/PluginForm/PaymentOffsiteForm.php on line 105"

Please see the attached log extract for the full stacktrace. Any advice / pointers for fixing this?

Spec:
Drupal Version: 8.7.1
Web Server: Apache/2.4.37 (Unix), PHP/7.2.14
Drupal commerce: 2.12

Thanks,
Thomas

CommentFileSizeAuthor
commerce_klarna_payment_error.txt8.59 KBvanlindholm

Comments

vanlindholm created an issue. See original summary.

  • tuutti committed 9b4650d on 8.x-1.x
    Issue #3055561 by vanlindholm: Exception thrown when selecting 'pay and...
tuutti’s picture

Status: Active » Fixed

Looks like commerce changed how they process the redirect url. This should be fixed in latest dev release.

Thanks for reporting this!

vanlindholm’s picture

Thank you very much for fixing this. I can confirm it works now.

/Thomas

Status: Fixed » Closed (fixed)

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