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
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