gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

Billing page not showing on install #886

Closed diego-lipinski-de-castro closed 3 years ago

diego-lipinski-de-castro commented 3 years ago

I am trying to add billing to my app (which is not in producting yet btw).

I followed all steps as said in this link https://github.com/osiset/laravel-shopify/wiki/Creating-a-Billable-App

I added one plan to the database, which has on_install set to true. However, the billing page just never shows up. I click to install the app, it installs, and goes directly to the home page. I am testing on a development store btw (idk if that makes a difference).

env vars: SHOPIFY_APP_PREFIX=shop SHOPIFY_BILLING_REDIRECT=shop/billing/process SHOPIFY_BILLING_ENABLED=1 SHOPIFY_BILLING_FREEMIUM_ENABLED=0

diego-lipinski-de-castro commented 3 years ago

I am jst fucking retarded. I literally just forgot the last and most important part: using the middleware.

ncpope commented 3 years ago

I am jst fucking retarded. I literally just forgot the last and most important part: using the middleware.

🤣 this is the funniest thing I've seen on GitHub.