Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php namespace App\Http\Controllers;
- use App\Http\Requests;
- use App\Http\Controllers\Controller;
- use \App;
- use Illuminate\Http\Request;
- class ShopifyCall extends Controller {
- /**
- * Display a listing of the resource.
- *
- * @return Response
- */
- public function index()
- {
- $sh = App::make('ShopifyAPI',[
- 'API_KEY'=>'a1568bd534e2e7a88b21d693bdc73afe',
- 'API_SECRET'=>'b15f951478db59369da196e77ea23fb7',
- 'SHOP_DOMAIN'=>'shinobishop.myshopify.com']);
- return redirect($sh->installURL(['permissions' => array('write_orders', 'write_products'), 'redirect' => 'http://hotelcms.app/shopify']));
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement