member id
This commit is contained in:
@@ -284,6 +284,7 @@ long INTW_configure(CVars in, CVars &out) {
|
||||
|
||||
|
||||
long do_transferPayment(CVars in) {
|
||||
logfmt(logINFO, "START ***** long do_transferPayment(CVars in, CVars &out)");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
CVars out;
|
||||
long member_id = REQ_LONG(in, "member_id", 1, -1);
|
||||
@@ -424,6 +425,7 @@ long do_transferPayment(CVars in) {
|
||||
|
||||
//PAYMENT_MODE
|
||||
//REFUND_MODE
|
||||
logfmt(logINFO, "END ***** long do_transferPayment(CVars in, CVars &out)");
|
||||
|
||||
return ret;
|
||||
}
|
||||
@@ -600,6 +602,8 @@ long WRB_doServiceTransferComplete(CVars in, CVars &out) {
|
||||
CVars pm;
|
||||
pm["customer_id"] = senderid;
|
||||
pm["customer_id"].set_valid(true);
|
||||
pm["member_id"] = member_id;
|
||||
pm["member_id"].set_valid(true);
|
||||
pm["transfer_id"] = out["money_transfer_id"];
|
||||
pm["transfer_id"].set_valid(true);
|
||||
pm["amount"] = in["InitiatingAmount"];
|
||||
|
||||
Reference in New Issue
Block a user