0
I Use This!
Inactive
Analyzed 2 days ago. based on code collected 2 days 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
  • ...
    by exploring contributors within projects, you can view details on every commit they have made to that project
  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    anyone with an Open Hub account can update a project's tags

Languages

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

30 Day Summary

Oct 17 2018 — Nov 16 2018

12 Month Summary

Nov 16 2017 — Nov 16 2018

Ratings

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