Skip to content

Commit

Permalink
Merge pull request thephpleague#44 from tariq86/readme-cleanup
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
barryvdh authored Nov 9, 2018
2 parents b191857 + 38d8989 commit 227ffdc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply
to your `composer.json` file:

```
composer require omnipay/braintree:"~2.0@dev"
composer require omnipay/braintree:"~3.0@dev"
```

## Basic Usage
Expand Down Expand Up @@ -62,7 +62,7 @@ $customer = $gateway->createCustomer([
```
You can find full list of options [here](https://developers.braintreepayments.com/reference/request/customer/create/php).

###Find customer (By id)
### Find customer (By ID)

```php
$customer = $gateway->findCustomer(1)->send();
Expand Down Expand Up @@ -94,7 +94,7 @@ $method = $gateway->updatePaymentMethod([
```
You can find full list of options [here](https://developers.braintreepayments.com/reference/request/payment-method/update/php).

###Create subscription
### Create subscription

```php
$subscription = $gateway->createSubscription([
Expand All @@ -107,14 +107,14 @@ $subscription = $gateway->createSubscription([
```
You can find full list of options [here](https://developers.braintreepayments.com/reference/request/subscription/create/php)

###Cancel subscription
### Cancel subscription

```php
$subscription = $gateway->cancelSubscription('id')->send();
```
You can find full list of options [here](https://developers.braintreepayments.com/reference/request/subscription/cancel/php)

###Parse webhook notification
### Parse webhook notification

```php
$notification = $gateway->parseNotification([
Expand Down

0 comments on commit 227ffdc

Please sign in to comment.