Skip to content
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

🐛Error message "Something went wrong" during checkout #253

Open
cobalt-tendons opened this issue Oct 14, 2024 · 2 comments
Open

🐛Error message "Something went wrong" during checkout #253

cobalt-tendons opened this issue Oct 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cobalt-tendons
Copy link

Describe the bug
I have deployed on Render and everything works fine using the default project URL they assign automatically, e.g. hi-events-xxxx.onrender.com. I am able to manage events and checkout without any issues. However, I cannot complete the checkout when using a custom domain, e.g. rsvp.mydomain.com.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Hi-Events instance at rsvp.mydomain.com
  2. Add tickets to cart
  3. Click Continue button
  4. See error (screenshot attached)

Expected behavior
Expected to continue to the next step of the checkout process

Screenshots
Screenshot 2024-10-14 3 14 15 PM

Desktop (please complete the following information):

  • OS: Chrome OS
  • Browser: Chrome
  • Version: 126.0.6478.252

Smartphone (please complete the following information):

  • Device: iPhone12
  • OS: iOS 18
  • Browser: Stock Safari

Hi.Events Version and platform
Docker @ render.com

Logs
N/A

Additional context
N/A

@cobalt-tendons cobalt-tendons added the bug Something isn't working label Oct 14, 2024
@daveearley
Copy link
Contributor

Hi @cobalt-tendons,

From the screenshot it appears the API URL being used is still the default render URL. This may explain the error. In Render.com, what is the value for the VITE_API_URL_CLIENT env variable? It should be the custom domain, not the Render default domain.

@cobalt-tendons
Copy link
Author

Thanks @daveearley and sorry for the delay. The Environment page in Render didn't have a VITE_API_URL_CLIENT variable, so I added it =rsvp.mydomain.com, but it didn't help. Screenshots attached. I also hopped into the container, manually exported the variable and restarted the node app, still getting that 403.

env
devtools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants