Skip to content

[2.4.5-p1] PayPal Express Checkout - Missing SKU & Full product [variation] title #36808

@FadedOut

Description

@FadedOut

Preconditions and environment

  • Magento 2.4.5-p1
  • PHP8.1
  • PayPal Express Checkout (Sandbox or Live) (the included extension)

Steps to reproduce

  1. Enable PayPal Express Checkout [sandbox or live, the result is the same so just do sandbox for this test]
  2. Enable "Transfer Cart Line Items"
  3. Enable "PayPal Guest Checkout"
  4. Submit Order (by credit card using a test number provided HERE). It is the same end result using a PayPal personal account but for testing purposes just use a test credit card for easier testing.
  5. Check PayPal transaction in PayPal sandbox account (not Magento)

Expected result

When viewing the PayPal transaction in the PayPal account, it should say one of the following:

-Men's T-Shirt-Red, S
-Men's T-Shirt-Red, M
-Men's T-Shirt-Red, L
-Men's T-Shirt-Red, XL

For instance, it should say "SKU 12345678 | Men's T-Shirt-Red, M | QTY 5". It should also show (or have) the SKU included with the line item.

Pretty sure WooCommerce does exactly that so I'm pretty certain PayPal is capable of taking that information.

Actual result

Neither are there. What actually shows is this:

Men's T-Shirt QTY 5

That is it. I will attach a screenshot of what I mean. There is no SKU with the item nor is the correct/actual item listed. It simply lists the parent product (Men's T-Shirt) when it was one of it's variants that was purchased (like Red, M or Red, L, etc.). The Magento order transaction page shows all that. But it's like it's not sending it to PayPal?

I just noticed this important missing information. It's very important when it comes to transaction logs and doing taxes. As I am now just noticing this, I realize this is going to be a disaster when doing taxes as there is no real way of me knowing what the COGS was (having no SKU or proper product title I can't sync it to a costs sheet and figure out what my actual net revenue was).

magento-245p1-paypal-missing-sku-product-title-details-screenshot-1

Additional information

I will test this on a 2.4-dev instance and see but I don't think it will change - it seems like it might have been like this for a long time now.

Thank you in advance. Hopefully someone can point me to a fix for this so I can get my transaction logs reporting correctly.

Release note

No response

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

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions