원클릭으로
shopify-app-billing
// Subscriptions, charges, and billable routes for a Laravel Shopify app using kyon147/laravel-shopify.
// Subscriptions, charges, and billable routes for a Laravel Shopify app using kyon147/laravel-shopify.
OAuth, session tokens, and route protection for a Laravel Shopify app using kyon147/laravel-shopify.
Writing application-level tests for a Laravel Shopify app that uses kyon147/laravel-shopify.
Expiring offline access tokens, migrations, and refresh behavior for kyon147/laravel-shopify in a host Laravel app.
Registering and handling Shopify webhooks in a Laravel app using kyon147/laravel-shopify.
| name | shopify-app-billing |
| description | Subscriptions, charges, and billable routes for a Laravel Shopify app using kyon147/laravel-shopify. |
You are in a host Laravel application with kyon147/laravel-shopify and you need billing: recurring or one-time charges, plan selection URLs, or gating your controllers until the shop has an active plan.
shopify-app.php)Enable and tune billing via env + config keys such as:
SHOPIFY_BILLING_ENABLED → billing_enabledSHOPIFY_BILLING_FREEMIUM_ENABLED → billing_freemium_enabledSHOPIFY_BILLING_REDIRECT → billing_redirect (where users land for the billing flow)Confirm route_names for billing, billing.process, and billing.usage_charge if you override route names to avoid collisions with your app.
Apply the billable middleware (alias for Osiset\ShopifyApp\Http\Middleware\Billable) to your route groups or controllers that should only run for shops with a valid charge/plan per package rules.
Combine with verify.shopify when the route also requires an authenticated shop session.
BillingController and Traits/BillingController show how billing endpoints are structured — extend or wrap from your App\Http\Controllers if you need custom UX, keeping the package’s config and charge flow intact.apiHelper() and related storage — reference src/Services/ApiHelper.php and models under src/Storage/Models/ in vendor for behavior, implement app-specific logic in your namespaces.billable or charge checks in production routes for convenience.