PDA

View Full Version : Bank transfer payment gateway problem



Riba
November 5, 2012, 10:57 PM
It seems deleting the transactions or payment details in the admin backend doesn't work. Can someone test and confirm?

Vladimir
November 6, 2012, 04:03 AM
Hello,

1. Deleting the transactions works fine for us.
2. We have found the problem in deleting payment details. You can fix it the following way:

- open file: plugins/bankWireTransfer/rlBankWireTransfer.class.php;
- go to method ajaxDeleteItem();
- find this code:



$delete = "DELETE FROM `" . RL_DBPREFIX . "payment_details` WHERE `ID` = '{$id}' LIMIT 1";


and replace it to:



$delete = "DELETE FROM `" . RL_DBPREFIX . "bwt_payment_details` WHERE `ID` = '{$id}' LIMIT 1";

Riba
November 6, 2012, 08:37 AM
Hello Vladimir, yes, this would definitely work better. :) But shouldn't


$sql = "DELETE FROM `".RL_DBPREFIX."transactions` WHERE `Txn_ID` = '{$txn['Txn_ID']}' LIMIT 1";

also be:


$sql = "DELETE FROM `".RL_DBPREFIX."bwt_transactions` WHERE `Txn_ID` = '{$txn['Txn_ID']}' LIMIT 1";

Vladimir
November 6, 2012, 09:23 AM
$sql = "DELETE FROM `".RL_DBPREFIX."bwt_transactions` WHERE `Txn_ID` = '{$txn['Txn_ID']}' LIMIT 1";


What do you mean? We remove a transaction in a different way.

Riba
November 6, 2012, 10:32 AM
Could be, sorry...I see there are two tables, _transactions and _bwt_transactions.

Jhon edison Marin suarez
November 11, 2013, 01:45 PM
Bank Transfer Payment Gateway no show items in the Transaction Manager

After of make one pay with Bank Transfer, I go in to Transaction Manager but this it no show the item.

I review in the data base and I see the items

Somebody would help me please?