Skip to content

Fix donation embed view reference in DonationController#53

Merged
fifle merged 1 commit intomasterfrom
claude/fix-embed-view-bug-ykrQ4
Mar 10, 2026
Merged

Fix donation embed view reference in DonationController#53
fifle merged 1 commit intomasterfrom
claude/fix-embed-view-bug-ykrQ4

Conversation

@fifle
Copy link
Owner

@fifle fifle commented Mar 10, 2026

Summary

Corrected the view name returned by the donationEmbed() method in the DonationController to use the correct "embed" view instead of the "cashier" view.

Changes

  • Updated donationEmbed() method to return the "embed" view instead of "cashier" view
  • This ensures the donation embed endpoint renders the correct template for embedded donation forms

Details

The donationEmbed() method was incorrectly referencing the "cashier" view when it should have been using the "embed" view. This fix ensures that when the donation embed endpoint is called, it renders the appropriate embedded view template rather than the cashier template.

https://claude.ai/code/session_01JTHrLHKXivTm8rHtHcsTqV

The donationEmbed() method was incorrectly returning view("cashier")
instead of view("embed"), causing /embed URLs to open cashier mode.

https://claude.ai/code/session_01JTHrLHKXivTm8rHtHcsTqV
@fifle fifle merged commit a96d537 into master Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants