Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Forked drewjoh / phpPayPal added MassPay support #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Forked drewjoh / phpPayPal added MassPay support #13

wants to merge 1 commit into from

Conversation

uWebTech
Copy link

Added MassPay to this excellent class. Example use:
$paypal['api_username'] = 'username';
$paypal['api_password'] = 'password';
$paypal['api_signature'] = 'API';
// Initiate
$payment = new phpPayPal($paypal, true);
// Server (Required)
$payment->ip_address = $_SERVER['REMOTE_ADDR'];
$payment->add_mass_pay('[email protected]', '5.00','uniqueid','a note for you and client');
$payment->add_mass_pay('[email protected]', '5.00');
$payment->mass_pay();
if($payment->_error){
echo 'Error:
';
$payment->_error_long_message;
} else {
echo 'Success';
}

Added MassPay to this excellent class.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant