Unstoppable Domains

PHP payment via LibertyReserve (using API) - help

Spaceship Spaceship
Watch
Status
Not open for further replies.

GambleMan

Established Member
Impact
0
Hello,

Who could help me?

I use LR payment via API.

I have changed php code "Server Mass Payment Tool (PHP)".
and my code is working but can make payment to one account only.

I need that pay to 2-3 account instantly.

Working code:

PHP Code:
$transferList = $lr_paidby.", ".$amount.", not-private, MEMO";

$request = new TransferRequest($apiName, $securityWord);
$request->addTransfersFromText($payerAcct, $transferList, $transferListError);

$transferListError = str_replace("\n","<br />", $transferListError);
if ($transferListError != "") {
$mess=$transferListError;
}

$responseContent = $request->getResponse();

How need fill $transferList for pay to 2-3 account instantly?

I try:

PHP Code:
$transferList = $lr_paidby1.", ".$amount1.", not-private, MEMO1"."\n".
$lr_paidby2.", ".$amount2.", not-private, MEMO2";

but don't work...

Need help.

Thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I will pay for it
 
0
•••
Hello,

Who could help me?

I use LR payment via API.

I have changed php code "Server Mass Payment Tool (PHP)".
and my code is working but can make payment to one account only.

I need that pay to 2-3 account instantly.

Working code:

PHP Code:
$transferList = $lr_paidby.", ".$amount.", not-private, MEMO";

$request = new TransferRequest($apiName, $securityWord);
$request->addTransfersFromText($payerAcct, $transferList, $transferListError);

$transferListError = str_replace("\n","<br />", $transferListError);
if ($transferListError != "") {
$mess=$transferListError;
}

$responseContent = $request->getResponse();

How need fill $transferList for pay to 2-3 account instantly?

I try:

PHP Code:
$transferList = $lr_paidby1.", ".$amount1.", not-private, MEMO1"."\n".
$lr_paidby2.", ".$amount2.", not-private, MEMO2";

but don't work...

Need help.

Thanks!

What error do you get ? What happens , does it return any error?

Just saw the LR XML request structure.
What do you want to accomplish ? Pay to different accounts using same payer ?
This can be easily done , but is this what you need ? If thats the case , i'll PM you the modified source code.

Cheers !
gamernaveen
 
Last edited:
0
•••
Thanks, i have created it myself
 
0
•••
0
•••
Status
Not open for further replies.
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back