Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

PHP payment via LibertyReserve (using API) - help

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
Namecheap AuctionsNamecheap Auctions
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I will pay for it
 
0
Close
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
Close
Thanks, i have created it myself
 
0
Close
0
Close
Status
Not open for further replies.
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back