Using async in ProcessPayment

Vote:
 

I would like to call an async method within the ProcessPayment method of a custom payment gateway. The AbstractPaymentGateway only allows for a synchronous method as far as I can tell. Is there an async version of the ProcessPayment method available that I’m missing? If not, is there a way to work around this to allow me to use an async method without risking async/sync deadlocks?
I am using Commerce 14.23.0 and CMS 12.30.0

#342348
May 01, 2026 13:53
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.