New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot redirect to charge confirmation from embedded app #398
Comments
I experience same issue here. I tried use older fullpage_redirect_to definition as below and it works but thats not a solution...
|
I ran into this on Monday.
In my apps class ApplicationController < ActionController::Base
def sanitized_shop_name
if current_shop.present?
@sanitized_shop_name ||= ShopifyApp::Utils.sanitize_shop_domain(current_shop.shopify_domain)
else
@sanitized_shop_name ||= sanitize_shop_param(params)
end
@sanitized_shop_name
end
end |
cc @Hammadk |
One option here is to replace Replacing the target origin with I think it should be ok because we are only redirecting to Shopify specific URLs where the merchant has to be logged in. Thoughts? |
I think I prefer @edavis10's solution. |
@nsweeting @PresleyWong This issue should be fixed in version 7.2.6. Thanks for the suggestion @edavis10 |
Hi there,
First time using embedded app stuff. So bare with me. When attempting to create a charge and do the redirect to the confirmation url, I end up with a blank page within the embedded app.
My controller code looks like this:
I then end up with a blank page in the app. The iframe source looks like this (link details modified):
I also end up with the following error in the console:
Any help would be appreciated.
Thanks
The text was updated successfully, but these errors were encountered: