Jump to content

Recommended Posts

Posted

Hi @kongondo,

We are experiencing a lot of problems with orders that result in 500 errors after payment has been done and user is being redirected to the shop. First a couple but now very frequently. I found out this happens when users go to the website inside Facebook for example. They buy a product and get redirected to their default browser. (Usually the client is being redirected to their bank app) The browser is not aware of the session and the order is not being updated. This also happens when a user uses another browser then the default.

Using 009 and Stripe as payment provider.

I believe this is where it happens;
Cannot instantiate abstract class ProcessWire\PadloperPayment

TraitPadloperProcessOrderCaptureOrder.php:18
$this->setPaymentProvider($this->session->paymentProviderID);

I hope you can help me with this issue.

  • 1 month later...
Posted
On 8/12/2024 at 9:15 AM, fliwire said:

session issue.

add site/config.php

$config->sessionCookieSameSite = "None";

and make sure site is https. 

Thank you so much for this. I lost 4 hours today battling with this problem setting sessions for an iframe on a different domain.

  • 1 month later...
Posted

For anyone reading this, I have been working with @Spinbox to implement a webhook solution + other backup (of session) solution. It is currently being (user) tested and has been implemented as Padloper 011. Will keep you posted!

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...