I’m developing a payment gateway module and would like to persist some of the payment provider’s return data to a custom table named xxx_yyy_transaction_log. The field order_id is a foreign key to the table sales_order in this table. I used the placeRequest method on ClientInterface class to persist the data. The issue is that when the placeRequest method is called, the sales_order entity has not yet been persisted, resulting in an integrity constraint violation. I’d like to know if there is a way to incorporate my persistence into the gateway database transaction or if there is another class where I could store my data to database.
You may also like
I have a server with Ubuntu 22.04.2 LTS and I need to create a service that would be running on the server. […]
We are using Magento 2.3.5 version we want to update Braintree SDK version from 3.79.1 to 3.97.0 file-path – vendor/gene/module-braintree/view/base/requirejs-config.js this is […]
I need to provide a clear, definitive answer to a concern raised by non‑technical managers. The environment is fully cloud‑based: Intune, Autopilot, […]
I’m not sure if something like this exists, but I’m looking for a Chrome extension that will automatically open links for a […]