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
/etc/elasticsearch have deleted by me accidentally.Now, when I run the command(sudo systemctl start elasticsearch ) to enable service of elasticsearch than the […]
Problem I have a MKV file which has 1 video and 1 subtitle stream, of which I want to hardcode the subtitle […]
On my cart, do you know why my tax calculation is not “calculated yet”? I used to see the tax value but […]
If I use DHCP on my router it allows me not to care about static routes? Do I need to use iproute2 […]