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

klarna paylater payments do not get status "completed" #23

Open
Shoprunners opened this issue Nov 10, 2022 · 10 comments
Open

klarna paylater payments do not get status "completed" #23

Shoprunners opened this issue Nov 10, 2022 · 10 comments
Assignees

Comments

@Shoprunners
Copy link

Shoprunners commented Nov 10, 2022

Expected behavior

If we set the Prestashop "Sent" state on a klarna paylater order, it should mark all products as sent and mollie should set the state to "completed".

Actual behavior

This actually happens only in very rare occassions. See description below.

Steps to reproduce the behavior

klarnapaylater is set up with OrdersApi and "Automatischer Versand bei markiertem Status" = "automatic shipping with selected state" is activated on the extended configuration tab. 2 states in the next configuration are are selected, while one of them is "sent".

Customer buys a product with klarnapaylater and everything is fine so far. An xx_mollie_payments table entry is created:

transaction_id (ord_xxxxx), cart_id(123456), order_reference(mol_12312332132),method(klarnapaylater, bank_status(open), and created_at are filled. The fields order_id, updated_at are "NULL".

In very rare cases (6 out of 200), after updating the state (via webservice), to "sent" the order_id will be filled up with the prestashop id_order and the order_reference will be replaced with the actual prestashop order_reference and the bank_status switches to "complete". in most other cases a log message in the prestashop with "Shipment information cannot be sent. Order reference (XXX) has no payment information." is written. As far, as I can understand the source code, this happens, when no order_id can be found in above table ( see CanSendShipment") class. I guess the webhook communication backwards somehow fails most of the time?

Environment

Prestrashop 1.6.1.15

  • Mollie module version: 4.5.3
  • PHP version: 7.0
@Shoprunners Shoprunners changed the title klarna paylayeter payments do not get status "completed" klarna paylater payments do not get status "completed" Nov 10, 2022
@justelis22
Copy link
Collaborator

Hey there,

We will be glad to help you with this! Our team will check your case, and get back to you as soon as possible with an update.

--
Best Regards,
Invertus Support team.

@justelis22 justelis22 self-assigned this Nov 11, 2022
@justelis22
Copy link
Collaborator

@Shoprunners,

Could you please send us your Back-Office, FTP, and SSH access to [email protected] so that we could debug the issue?

--
Best Regards,
Invertus Support team.

@Shoprunners
Copy link
Author

Hi,
did you receive our mail?

Could you please send us your Back-Office, FTP, and SSH access to [email protected] so that we could debug the issue?

-- Best Regards, Invertus Support team.

@justelis22
Copy link
Collaborator

Hi there @Shoprunners,

We have not received an email from you, please try to resend it.

--
Best Regards,
Invertus Support team.

@Shoprunners
Copy link
Author

Done

We have not received an email from you, please try to resend it.

-- Best Regards, Invertus Support team.

@justelis22
Copy link
Collaborator

@Shoprunners,

It seems like we are having some kind of issues with the [email protected] mailbox.
Until we sort that issue out, could you please forward that email to me directly at [email protected]?
Thank you for understanding!

--
Best Regards,
Invertus Support team.

@Shoprunners
Copy link
Author

Done

@Shoprunners
Copy link
Author

hi,
btw. another customer faces the same problem with the latest 1.7 based version.

@justelis22
Copy link
Collaborator

Hi @Shoprunners,

We are currently under investigation. Mollie's team is communicating with Klarna to make sure this issue is solved.
As soon as we have some updates, we will let you know.

Thank you for your patience and understanding!

--
Best Regards,
Invertus Support team.

@Shoprunners
Copy link
Author

Hi,
any news here? Problem still occurs.

Hi @Shoprunners,

We are currently under investigation. Mollie's team is communicating with Klarna to make sure this issue is solved. As soon as we have some updates, we will let you know.

Thank you for your patience and understanding!

-- Best Regards, Invertus Support team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants