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

Transaction ID missing for orders with Mollie: Payment Link payment method #770

Closed
nkikkertyouwe opened this issue Apr 12, 2024 · 5 comments
Assignees
Labels
Fixed and planned for next release Fix will be included in the next release.

Comments

@nkikkertyouwe
Copy link

nkikkertyouwe commented Apr 12, 2024

Describe the bug
When creating an order using the "Mollie: Payment Link" payment method through the admin, the Transaction ID is not saved for the order (the field mollie_transaction_id in the sales_order table is null).

Used versions

  • Magento Version number(eg 2.3.5): 2.4.4-p6
  • Open source/Enterprise/B2b: Enterprise
  • Mollie version number (Check configuration): 2.36.0

To Reproduce
Steps to reproduce the behavior:

  1. Create an order through the admin (Customers -> All Customers -> [Select customer] -> Create order)
  2. Select one or multiple items and fill in the address details if needed
  3. Select "Mollie: Payment Link" payment method
  4. Choose any Shipping Method and click on "Submit Order"
  5. In the order details view in the admin, click on "Fetch Status", notice the error "Transaction ID not found":

Expected behavior
The Transaction ID is saved for the order, and the latest status can be retrieved by clicking on the "Fetch Status" button.

Actual behavior
An error message "Transaction ID not found" is shown, as the Transaction ID is not saved for the order when the order is created.

Screenshots
-000000153-Orders-Operations-Sales-Magento-Admin

Additional context
This works correctly until version 2.31.0

@nkikkertyouwe nkikkertyouwe changed the title Transaction ID for orders with Mollie: Payment Link payment method Transaction ID missing for orders with Mollie: Payment Link payment method Apr 12, 2024
@Frank-Magmodules Frank-Magmodules added the Investigating We are working on this issue together with the customer. label Apr 16, 2024
@Frank-Magmodules
Copy link
Collaborator

Hi There @nkikkertyouwe ,

Thank you for opening this issue. The payment link method works differently than let’s say iDeal. With payment link orders, the transaction isn’t created until the customer opens the “click here to pay” link in the order confirmation email or through the backend link.

Due to this, there is no transaction ID available up until that point. In an upcoming version, we will change this button to something that makes this difference more clear. I will leave this issue open till then!

@Frank-Magmodules Frank-Magmodules added Fixed and planned for next release Fix will be included in the next release. and removed Investigating We are working on this issue together with the customer. labels Apr 18, 2024
@nkikkertyouwe
Copy link
Author

nkikkertyouwe commented Apr 19, 2024

Hi @Frank-Magmodules, thanks for your reply. I am aware that this payment link method works differently than the other "pay immediately" payment methods like iDEAL, but I do see that in the v2.31.0 version, the Transaction ID is created immediately for these orders, even though the customer did not click on the link yet.

In 2.31.0 I see this in the admin for an example order:
image

As you can see, the link to the checkout URL already contains the mollie_transaction_id: ord_1.pgg79p
This is different than in 2.36.0, where it only says "Click here to pay".

@nkikkertyouwe
Copy link
Author

Hi @Frank-Magmodules, did you check out my latest question? Just want to make sure we're talking about the same issue.

@Frank-Magmodules
Copy link
Collaborator

Hi @nkikkertyouwe,

Apologies for the delayed reply. Yes, we are aware that this behavior is different in the latest versions compared to earlier versions. This is intended and solve a few issues that existed with the payment link.

In earlier versions, the transaction is created directly within Mollie, while in later versions this is not the case. There is the creation of the transaction postponed to the moment the customer clicks on the “pay now” link.

@Frank-Magmodules
Copy link
Collaborator

Hi There @nkikkertyouwe , we have just released a new version of the plugin where we've added this as an improvement, it now indicates that the payment has not started yet and therefore there is no TransactionID available yet. I'm closing this issue for now. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed and planned for next release Fix will be included in the next release.
Projects
None yet
Development

No branches or pull requests

2 participants