-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from apoca/develop
merge develop into master
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,7 +154,22 @@ $request = [ | |
$response = Sibs::checkout($request)->pay(); | ||
``` | ||
|
||
#### Response | ||
### Asynchronous Server-to-Server MBWay | ||
In an asynchronous workflow a redirection takes place to allow the account holder to complete/verify the payment.<br/> | ||
Put the brand parameter equals to "MBWAY" and the type equals to PA. The accountId should be a phone number like this <country_dial_code#phone_number>. | ||
```php | ||
$request = [ | ||
'amount' => 10.44, | ||
'currency' => 'EUR', | ||
'brand' => 'MBWAY', | ||
'type' => 'PA', | ||
'accountId' => '351#911222111', | ||
]; | ||
$response = Sibs::checkout($request)->pay(); | ||
``` | ||
|
||
If you are in test mode put the mode parameter on sibs config file equals to test. | ||
#### Response Example | ||
|
||
```JSON | ||
{ | ||
|
@@ -187,15 +202,16 @@ $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 [email protected] | ||
We'd love to get feedback on how you're using laravel-sibs-payments and things we could add to make this tool better. Feel free to contact us at [email protected] | ||
|
||
## Contributing | ||
|
||
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. | ||
We'd love to get feedback on how you're using *laravel-sibs-payments* and things we could add to make this tool better. Feel. | ||
|
||
## License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters