Skip to content

Commit

Permalink
Merge pull request #54 from sandervanhooft/master
Browse files Browse the repository at this point in the history
V2 stable release
  • Loading branch information
sandervanhooft authored Jul 9, 2018
2 parents 031f439 + d61e720 commit 66350c3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
<!-- ### Changed -->
<!-- ### Removed -->

## [2.0.0 beta 1] - 2018-06-27
Version 2.0.0 beta is here! See the [migration instructions](docs/migration_instructions_v1_to_v2.md) on how to upgrade from v1.
## 2.0.0 - 2018-07-09
Version 2.0.0 is here! See the [migration instructions](docs/migration_instructions_v1_to_v2.md) on how to upgrade from v1.

This release leverages the V2 mollie-api-php client.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Fresh install? Continue with the installation guide below.
Add Laravel-Mollie to your composer file via the `composer require` command:

```bash
$ composer require mollie/laravel-mollie:2.0.*
$ composer require mollie/laravel-mollie:^2.0
```

Or add it to `composer.json` manually:
Expand Down Expand Up @@ -66,7 +66,7 @@ $payment = Mollie::api()->payments()->create([
'value' => '10.00', // You must send the correct number of decimals, thus we enforce the use of strings
],
"description" => "My first API payment",
"redirectUrl" => "https://webshop.example.org/order/12345/",
'webhookUrl' => route('webhooks.mollie'),
]);

$payment = Mollie::api()->payments()->get($payment->id);
Expand Down
2 changes: 2 additions & 0 deletions docs/recurring_and_direct_charge.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $payment = Mollie::api()->payments()->create([
'sequenceType' => 'first',
'description' => 'My Initial Payment',
'redirectUrl' => 'https://domain.com/return',
'webhookUrl' => route('webhooks.mollie'),
]);
```

Expand All @@ -52,6 +53,7 @@ If any of the mandates is valid, charging the user is a piece of cake. Make sure
'customerId' => $customer->id,
'sequenceType' => 'recurring',
'description' => 'Direct Charge',
'webhookUrl' => route('webhooks.mollie'),
]);
```

Expand Down
2 changes: 1 addition & 1 deletion docs/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $payment = Mollie::api()->payments()->create([
],
"description" => "My first API payment",
"redirectUrl" => "https://webshop.example.org/order/12345/",
'webhookUrl' => 'https://domain.com/webhooks/mollie',
'webhookUrl' => route('webhooks.mollie'),
]);
```

Expand Down

0 comments on commit 66350c3

Please sign in to comment.