Skip to content

Error creating order with payment services paypal - select credit card #39689

@matteorossi-thespacesm

Description

@matteorossi-thespacesm

Preconditions and environment

  • Magento 2.4.7-p4

Steps to reproduce

Configure adobe payment services and connect to paypal account
Configure payment services to use credit card
Create an order with payment services paypal, payment through credit card

Email not sent.
Backoffice order details page not working.

Expected result

Order email should be sent.
Order details should be visible in backoffice.

Actual result

Exception log and order details page report the following error:
Warning: Undefined array key "card" in vendor/magento/module-payment-services-paypal/Block/Info.php on line 55

Additional information

In module Magento_PaymentServicesPaypal, file etc/di.xml, beginning at line 659 a payment source item is named "cc". Unfortunately item info is saved as "card", so an array key is not found.

Release note

In module Magento_PaymentServicesPaypal, file etc/di.xml, beginning at line 659
either change:
<item name="cc" xsi:type="string" translatable="true">Credit Card</ite>
as:
<item name="card" xsi:type="string" translatable="true">Credit Card</item>
or add a row:
<item name="card" xsi:type="string" translatable="true">Credit Card</item>

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.7-p4Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions