What do u want to update in database do let me know so i can provide you appropriate hook/ or customized plugin code
I did Some sort of storing data in Stripe plugin for cartspan
Link here so if you can tell me exact needs what you like to store i can help you out because i am storing these values in database postmeta already
$transactionmetas = array(
'approved' => $response->approved,
'declined' => $response->declined,
'error' => $response->error,
'held' => $response->held,
'response_code' => $response->response_code,
'response_subcode' => $response->response_subcode,
'response_reason_code' => $response->response_reason_code,
'authorization_code' => $response->authorization_code,
'card_type' => $response->card_type,
'transaction_type' => $response->transaction_type,
'account_number' => $response->account_number,
'cavv_response' => $response->cavv_response,
'card_code_response' => $response->card_code_response
);
add_post_meta( $order_id, '_'.$order_id.'_'.$response->transaction_id.'_metas', $transactionmetas);
so meta key in case order no 786 will become _786_66776543_metas
where 66776543 is transaction id of Transaction
All I need is the name, qty, product name, price, of course the response-code, approved or declined, the reason and error – everything about the order except the credit card info itself.
you can change above code itself to suit your needs you don’t need to hook anything directly change the code on plugin
and then change the folder name of plugin doing so plugin will be deactivated so just reactivate it
this will ensure you don’t see any further update to plugin
Authorize.net are going through multiple changes so i will wait for them to become stable before releasing any update of my plugin
else you will have to hook process_payment function on my auth.net plugin
Where do I get your plug-in?
You asked question in support tab of https://ww.wp.xz.cn/plugins/authorizenet-woocommerce-addon/. That is where you get the plugin 🙂 was this a common question asked on support tab of other similar plugin ?
No, sorry – looking at yours in particular.
Just customize the plugin code thats it then 😀