0
I Use This!
Activity Not Available
Analyzed over 1 year ago. based on code collected over 1 year ago.

Project Summary

Library of payment gateways

'John',
'last_name' => 'Doe',
'number' => '4111111111111111',
'month' => 12,
'year' => 2018,
'verification_value' => 123,
'type' => 'visa'
));

if ($card->isValid()) {
$gateway = new PHPMerchant_Billing_Gateway_PayPal(array(
'login' => 'testlogin',
'password' => 'testpassword',
'signature' => 'testsignature',
'test' => true
));

$response = $gateway->purchase(1000, $card);
if ($response->success) {
echo "Purchase complete!";
} else {
echo "Error: " . $response->message;
}

} else {
echo "Error: credit card is not valid. " . join('. ', $card->errors());
}

Tags

ecommerce paypal phpmerchant

In a Nutshell, php-merchant...

MIT License
Permitted

Commercial Use

Modify

Distribute

Private Use

Sub-License

Forbidden

Hold Liable

Required

Include Copyright

Include License

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    Black Duck offers a free trial so you can discover if there are open source vulnerabilities in your code
  • ...
    you can embed statistics from Open Hub on your site
  • ...
    in 2016, 47% of companies did not have formal process in place to track OS code
  • ...
    compare projects before you chose one to use

Languages

Languages?height=75&width=75
PHP
99%
HTML
1%

30 Day Summary

Mar 17 2016 — Apr 16 2016

12 Month Summary

Apr 16 2015 — Apr 16 2016

Ratings

1 user rates this project:
5.0
 
5.0/5.0
Click to add your rating
   Spinner
Review this Project!