Spinbox Posted August 11, 2024 Posted August 11, 2024 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.
fliwire Posted August 12, 2024 Posted August 12, 2024 session issue. add site/config.php $config->sessionCookieSameSite = "None"; and make sure site is https. 1 1
Outward Posted September 13, 2024 Posted September 13, 2024 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.
kongondo Posted November 4, 2024 Posted November 4, 2024 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! 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now