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

Javascript files for payment form are always loaded via baseCpUrl #270

Closed
mihob opened this issue Nov 22, 2023 · 1 comment
Closed

Javascript files for payment form are always loaded via baseCpUrl #270

mihob opened this issue Nov 22, 2023 · 1 comment
Labels

Comments

@mihob
Copy link

mihob commented Nov 22, 2023

Description

The frontend of my craft setup has a different URL than the control panel. For example, https://example.com for the frontend and https://cms.example.com for the control panel. However, the Javascript files for the payment form are always loaded via the URL of the control panel. This can lead to various problems.

Additional info

  • Craft CMS version: Craft Pro 4.5.11
  • Stripe for Craft Commerce version: 4.0.1.1
  • PHP version: 8.2.12
  • Database driver & version: MariaDB 11.1.2
  • Plugins & versions:
    • Asset Locations 2.2.1
    • BlurHash 2.0.5
    • Control Panel CSS 2.6.0
    • CP Clear Cache 1.3.0
    • CP Field Inspect 1.4.4
    • Craft Commerce 4.3.2
    • Default Dashboard 2.0.1
    • Easy Image 1.0.1
    • Events 2.0.2
    • Expanded Singles 2.0.5
    • Field Manager 3.0.8
    • Matrix Colors 3.0.0
    • MatrixMate 2.1.4
    • PayPal Checkout for Craft Commerce 2.1.2
    • Redactor 3.0.4
    • Schedule 0.4.0.1
    • Sentry Logger 4.1.3
    • SEOMate 2.1.2
    • Smith 2.0.0
    • Stripe for Craft Commerce 4.0.1.1
    • Super Table 3.0.12
    • Typed link field 2.1.5
    • Vite 4.0.6
@mihob mihob added the bug label Nov 22, 2023
@nfourtythree
Copy link
Contributor

Hi @mihob

Thank you for reporting, we have pushed up a fix for this that has been included in the latest release of the plugin 4.1.0.

This version is now available.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants