Describe your bug or feature request.
While checking out, if I have an already saved Payment method, then it is giving Error, that no bundle found in PaymentOptionsBuilder on Line 67, I checked and found that, it doesnot have key "payment_method_type_id". But on adding this, and checking, the credit card form is still showing on Payment Page, even though already saved Credit Card is currently selected.
Issue seems to be buildPaymentMethodForm function in PaymentInformation.php. In prev. commerce release there was a condition of
if ($payment_option->getPaymentMethodId() && !$payment_option->getPaymentMethodTypeId()) {
which returns the pane_form, but it was removed in current releases.
If a bug, provide steps to reproduce it from a clean install.
Comments
Comment #2
manojbisht_drupal commentedAttached is the patch for the same
Comment #3
manojbisht_drupal commentedComment #4
jsacksick commentedCould you pinpoint the code that was removed? There might be a reason for that?
Comment #7
jsacksick commented