laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.74k stars 291 forks source link

Laravel Octane Swoole Sync function or Sync route #794

Closed mstfaslanntr closed 8 months ago

mstfaslanntr commented 8 months ago

Octane Version

2.2.5

Laravel Version

9.41.0

PHP Version

8.1.18

What server type are you using?

Swoole

Server Version

2023.2.2

Database Driver & Version

No response

Description

I am using Laravel Octane but I have a problem. I have a payment callback page, and when requests come at the same time, some payments are confirmed twice because the transactions are async. Is there a feature in Octane where I can specify a route or function so that transactions can be synchronized?

Steps To Reproduce

I am using Laravel Octane but I have a problem. I have a payment callback page, and when requests come at the same time, some payments are confirmed twice because the transactions are async. Is there a feature in Octane where I can specify a route or function so that transactions can be synchronized?

nunomaduro commented 8 months ago

Hey there,

Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Thanks!