Jump to content

Unable to process order payment due to session change


Spinbox
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • 1 month later...
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.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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