Unstoppable Domains โ€” Expired Auctions

PHP payment via LibertyReserve (using API) - help

NamecheapNamecheap
Watch
Status
Not open for further replies.
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.
AfternicAfternic
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
•••
Hey,

I have compiled 2 articles explaining both the SCI and API for Liberty Reserve.
The SCI is discussed here: Alex HANIN ยป Blog Archive ยป Liberty Reserve SCI (IPN)
and the API here: Alex HANIN ยป Blog Archive ยป Liberty Reserve API

I have tried to make it very simple to implement and use, especially the API. Basically get 1 file on your webserver and call a few defined functions. It is all in plain text so you don't need to worry about hidden code.

Let me know if that helps you

aXe
 
0
•••
Status
Not open for further replies.
Dynadot โ€” .com TransferDynadot โ€” .com Transfer
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Payment Flexibility
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back