Skip to content

Commit

Permalink
Merge pull request #4 from apoca/scrutinizer-ci
Browse files Browse the repository at this point in the history
added support to scrutinizer ci
  • Loading branch information
apoca authored Mar 18, 2019
2 parents bd48f74 + 3f635dc commit 7cb97f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
build:
environment:
php: 7.2

filter:
excluded_paths: [tests/*]
excluded_paths:
- "tests/*"
- "routes/*"
- "config/*"
- "stubs/*"
dependency_paths:
- "vendor/*"

checks:
php:
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Total Downloads](https://poser.pugx.org/apoca/laravel-sibs-payments/downloads)](https://packagist.org/packages/apoca/laravel-sibs-payments)
[![License](https://poser.pugx.org/apoca/laravel-sibs-payments/license)](https://packagist.org/packages/apoca/laravel-sibs-payments)

Laravel library to communicate with SIBS - Open Payment Platform. The library includes payments: VISA, MASTER, AMEX, VPAY, MAESTRO, VISADEBIT, VISAELECTRON.
Laravel library to communicate with [SIBS - Open Payment Platform](https://www.sibs-international.com/). The library includes payments: VISA, MASTER, AMEX, VPAY, MAESTRO, VISADEBIT, VISAELECTRON.

## Contents

Expand Down Expand Up @@ -34,7 +34,7 @@ If you don't use auto-discovery, add the ServiceProvider to the providers array
Apoca\Sibs\SibsServiceProvider::class,
```

If you want to use the facade to log messages, add this to your facades in app.php:
If you want to use the facade, add this to your facades in app.php:

```php
'Sibs' => Apoca\Sibs\Facade\Sibs::class,
Expand Down Expand Up @@ -64,7 +64,6 @@ $request = [
];
$response = Sibs::checkout($request)->pay();
```
[See oficial SIBS api reference](https://sibs.docs.onlinepayments.pt/)

#### Response

Expand All @@ -75,7 +74,7 @@ $response = Sibs::checkout($request)->pay();
"id":"8ac7a4a26982228701698db398cf05ee",
"paymentType":"DB",
"paymentBrand":"VISA",
"amount":"92.00",
"amount":"102.34",
"currency":"EUR",
"descriptor":"2302.8463.4825 OPP_Channel ",
"result":{
Expand All @@ -99,6 +98,8 @@ $response = Sibs::checkout($request)->pay();
}
```

[See oficial SIBS api reference](https://sibs.docs.onlinepayments.pt/)

## Feedback

We'd love to get feedback on how you're using lambda-resize-image and things we could add to make this tool better. Feel free to contact us at vieira@miguelvieira.com.pt
Expand Down

0 comments on commit 7cb97f4

Please sign in to comment.