Error while Checkout

Created on 14 January 2024, about 1 year ago
Updated 19 February 2024, about 1 year ago

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.

📌 Task
Status

Fixed

Version

2.0

Component

Payment

Created by

🇮🇳India manojbisht_drupal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024