laravel-shopify: Missing host after Billing approve redirect

Failure Information

default.blade.php throwing error app-bridge@latest:1 Uncaught s {name: 'AppBridgeError', message: 'APP::ERROR::INVALID_CONFIG: host must be provided', action: undefined, type: 'APP::ERROR::INVALID_CONFIG', stack: 'AppBridgeError: APP::ERROR::INVALID_CONFIG: host must be provided'}

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. SHOPIFY_FRONTEND_ENGINE is set to BLADE
  2. Approving billing charge for new store
  3. Redirected to home route without host parameter

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • Package Version: v17.4.1
  • Laravel Version: v8.75
  • PHP Version: v8.0
  • Using a toolset Laradock

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Works like a charm 👍 Thanks for maintaining this repository !

Hey both,

Try upgrading to 17.4.2 https://github.com/Kyon147/laravel-shopify/releases/tag/v17.4.2

This should be fixed in this version now, as host is being pass all the way through for the billable middleware now.