Skip to content

Add the possibility to custom the Mandate Acceptance Text per f… - #8274

Open
Genevieve-K wants to merge 2 commits into
impress-org:developfrom
Genevieve-K:patch-30
Open

Add the possibility to custom the Mandate Acceptance Text per f…#8274
Genevieve-K wants to merge 2 commits into
impress-org:developfrom
Genevieve-K:patch-30

Conversation

@Genevieve-K

@Genevieve-K Genevieve-K commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

I would like to customize this text per form. Indeed, we have donation forms for different languages. I added my own settings with 'give_metabox_form_data_settings', but I don't have the form ID to get the new form meta. As I added a second parameter, the first one cannot have a default value.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@Genevieve-K

Genevieve-K commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

Hello the team. I updated 4 files, so I did 4 commits, but I don't know how link them to the same PR. Could you help me?

* @return string
*/
function give_stripe_get_mandate_acceptance_text( $method = 'sepa' ) {
function give_stripe_get_mandate_acceptance_text( $method, $form_id ) {

This comment was marked as spam.

@jonwaldstein
jonwaldstein self-requested a review August 5, 2026 18:01
@impress-org impress-org deleted a comment from kadondibetty Aug 5, 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