processPayment(processor)
This commit is contained in:
@@ -494,7 +494,7 @@ long WrenchStartPayment( CVars in, CVars &out ){
|
||||
out["credit_ref_no"] = insert_db_record(DBS_VALID, "members_credit", "members_credit_id_seq", xx);
|
||||
|
||||
if ( out["credit_ref_no"].Long() > 0) {
|
||||
if( load_db_record( out, "SELECT uid AS credit_reference, fee, currency, amount+fee AS total "
|
||||
if( load_db_record( out, "SELECT uid AS credit_reference, fee, currency, amount, amount+fee AS total, card_uid "
|
||||
" FROM members_credit WHERE member_id = %lu AND id=%lu ", member_id, out["credit_ref_no"].Long())> 0){
|
||||
out["status"] = "OK";
|
||||
out["flutterwave_key"] = CfgReadChar("flutterwave.public_key");
|
||||
|
||||
Reference in New Issue
Block a user