Skip to content

fix: respect html text overrides on payment pages#341

Merged
brendanjryan merged 3 commits intowevm:mainfrom
brendanjryan:brendanryan/fix-html-text-overrides
Apr 15, 2026
Merged

fix: respect html text overrides on payment pages#341
brendanjryan merged 3 commits intowevm:mainfrom
brendanjryan:brendanryan/fix-html-text-overrides

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

@brendanjryan brendanjryan commented Apr 15, 2026

Summary

  • respect custom text.pay on the Tempo HTML payment page while preserving the branded default button label
  • make the shared HTML <title> follow a custom paymentRequired label when title is omitted
  • add render-level and browser-level regressions for both behaviors

Closes #335

@brendanjryan brendanjryan requested a review from tmm April 15, 2026 03:09
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 15, 2026

Open in StackBlitz

npm i https://pkg.pr.new/mppx@341

commit: 11d28fb

})

const button = document.createElement('button')
const buttonLabel = c.text.pay === 'Pay' ? 'Continue with' : c.text.pay
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pulling this out of SVG

Comment thread .changeset/fix-html-text-overrides.md Outdated
Co-authored-by: tmm <tom@meagher.co>
@brendanjryan brendanjryan merged commit 13d2851 into wevm:main Apr 15, 2026
8 checks passed
@brendanjryan brendanjryan deleted the brendanryan/fix-html-text-overrides branch April 15, 2026 14:56
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.

Tempo HTML payment script should respect text.pay config

2 participants