Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check form redirect on failed invoice creation not working #10

Open
ndeet opened this issue Aug 28, 2018 · 0 comments
Open

Check form redirect on failed invoice creation not working #10

ndeet opened this issue Aug 28, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@ndeet
Copy link
Collaborator

ndeet commented Aug 28, 2018

On checkout payment form if the invoice creation seems to fail.

Notice: Undefined property: Drupal\commerce_btcpay\PluginForm\BtcPayRedirectForm::$checkoutFlow in Drupal\commerce_btcpay\PluginForm\BtcPayRedirectForm->redirectToPreviousStep() (line 67 of /var/www/html/drupal8/web/modules/contrib/commerce_btcpay/src/PluginForm/BtcPayRedirectForm.php) #0 /var/www/html/drupal8/web/core/includes/bootstrap.inc(582): _drupal_error_handler_real(8, 'Undefined prope...', '/var/www/html/d...', 67, Array) #1 
Error: Call to a member function getPane() on null in Drupal\commerce_btcpay\PluginForm\BtcPayRedirectForm->redirectToPreviousStep() (line 67 of /var/www/html/drupal8/web/modules/contrib/commerce_btcpay/src/PluginForm/BtcPayRedirectForm.php) #0 /var/www/html/drupal8/web/modules/contrib/commerce_btcpay/src/PluginForm/BtcPayRedirectForm.php(41): Drupal\commerce_btcpay\PluginForm\BtcPayRedirectForm->redirectToPreviousStep() #1 /var/www/html/drupal8/web/modules/contrib/commerce/modules/payment/src/Element/PaymentGatewayForm.php(93): Drupal\commerce_btcpay\PluginForm\BtcPayRedirectForm->buildConfigurationForm(Array, Object(Drupal\Core\Form\FormState)) #2 [internal function]: Drupal\commerce_payment\Element\PaymentGatewayForm::processForm(Array, Object(Drupal\Core\Form\FormState), Array) #3 /var/www/html/drupal8/web/core/lib/Drupal/Core/Form/FormBuilder.php(997): call_user_func_array(Array, Array) #4 /var/www/html/drupal8/web/core/lib/Drupal/Core/Form/FormBuilder.php(1060): Drupal\Core\Form\FormBuilder->doBuildForm('commerce_checko...', Array, Object(Drupal\Core\Form\FormState)) #5 
@ndeet ndeet added the bug Something isn't working label Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant