Skip to content

Commit b34021b

Browse files
committed
Fixed typo
1 parent 59c2a6b commit b34021b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.idea/workspace.xml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To install/integrate a shop you will need to initiate an oauth authentication wi
4545
They are:
4646
1. Shop url (eg. example.myshopify.com)
4747
2. scope (eg. write_products, read_orders, etc)
48-
2. redirect url (eg. mydomain.com/process_oauth_result)
48+
2. redirect url (eg. http://mydomain.com/process_oauth_result)
4949

5050
This process will enable us to obtain the shops access token
5151

@@ -56,14 +56,14 @@ Route::get("install_shop",function()
5656
{
5757
$shopUrl = "example.myshopify.com";
5858
$scope = ["write_products","read_orders"];
59-
$redirectUrl = "mydomain.com/process_shopify_data";
59+
$redirectUrl = "http://mydomain.com/process_shopify_data";
6060

6161
$shopify = Shopify::setShopUrl($shopUrl);
6262
return redirect()->to($shopify->getAuthorizeUrl($scope,$redirectUrl));
6363
});
6464
```
6565

66-
Let retrieve access token
66+
Let's retrieve access token
6767

6868
```php5
6969
Route::get("process_oauth_result",function(\Illuminate\Http\Request $request)
@@ -97,7 +97,7 @@ $products = Shopify::setShopUrl($shopUrl)->setAccessToken($accessToken)->get("ad
9797
To pass query params
9898

9999
```php5
100-
$shopify = Shopify::setShopUrl($shopUrl)->setAccessToken($accessToken)
100+
$shopify = Shopify::setShopUrl($shopUrl)->setAccessToken($accessToken);
101101
$products = $shopify->get("admin/products.json", ["limit"=>20, "page" => 1]);
102102
```
103103

0 commit comments

Comments
 (0)