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

Order ID not present in order details after successful transaction with the delayed notification payment method #6142

Closed
timur27 opened this issue Apr 25, 2023 · 2 comments
Labels
category: core WC Payments core related issues, where it’s obvious. component: upe type: bug The issue is a confirmed bug.

Comments

@timur27
Copy link
Contributor

timur27 commented Apr 25, 2023

Describe the bug

Delayed payment methods are those where the funds are only available after some time. In live mode, such payments might take up to 14 business days. This behavior is also implemented and can be tested in the testing environment, but the waiting time is 3 minutes. Sofort payment method is one of these types of payments. After authorizing the payment, it's Pending and updates to the Successful state after 3 minutes. The problem this issue needs to resolve is that for Sofort, the Order ID isn't visible in the order details after the payment is made. It's provided only after 3 minutes when the status changes to Processing in WC Orders.

To Reproduce

  1. Enable split UPE
  2. Checkout using Sofort on the shortcode checkout and authorize the payment
  3. Go to the Order details in the admin panel, and right below Order #XYZ details title, click on the hyperlinked payment intent which will redirect to the Payment details page
  4. On the Payment details page, confirm there is no Order ID in the _Order section
  5. Wait 3 minutes and refresh, confirm that the order ID is present

Actual behavior

Order ID appears only after the Order status changes to Processing.

Screenshots

Sofort PI with missing order details
Sofort pending transaction with missing order details

Sofort PI has order details when paid
Sofort transaction has order details after payment is made

Expected behavior

Order ID appears right after the Order has been placed and is in Pending status. This is the expected behavior for the split UPE and the deferred intent creation UPE.

@timur27 timur27 added the type: bug The issue is a confirmed bug. label Apr 25, 2023
@timur27
Copy link
Contributor Author

timur27 commented Apr 25, 2023

Hey team! Please add your planning poker estimate with Zenhub @FangedParakeet @mdmoore

@jessy-p jessy-p added category: core WC Payments core related issues, where it’s obvious. component: upe labels Apr 25, 2023
@FangedParakeet
Copy link
Contributor

FangedParakeet commented May 22, 2023

I believe this has been indirectly fixed by #6170 and can confirm that I can no longer repeat this on the develop branch with either the original split-UPE or new deferred intent UPE flags enabled. Hereby happily closing out this issue. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: core WC Payments core related issues, where it’s obvious. component: upe type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants