This commit is contained in:
CHIEFSOFT\ameye
2023-10-28 17:23:14 -04:00
parent a6feec898c
commit a668e9b78b
+2 -2
View File
@@ -194,7 +194,7 @@ long WrenchFamilyPayment( CVars in, CVars &out )
pgsql_exec("UPDATE members_payments SET flags = %lu WHERE id = %lu",x["flags"].Long(),payment_id );
pgsql_exec("UPDATE family_transfer SET pay_confirm = now() WHERE id = %lu ",confirmation, transfer_id );
CVars xrx;
load_db_record( xrx, "SELECT id AS transfer_id, * FROM family_transfer WHERE id = %lu ", payment_id );
load_db_record( xrx, "SELECT id AS transfer_id, * FROM family_transfer WHERE id = %lu ", transfer_id );
return WrenchFamilyTransferCredit( xrx, out ); // let us try credit
} else {
out["status"] = "Unable to create payment";
@@ -228,7 +228,7 @@ long WrenchFamilyTransferCredit( CVars in, CVars &out ){
if (retDb2>0)
{
long member_id = out["recipient"].Long(); // This is the recipient
long member_id = out["recipient"].Long(); // This is the recipient
CVars vw;
vw["currency"] = in["currency"];
vw["currency"].set_valid( true );