Skip to content

Conversation

@nytoan
Copy link

@nytoan nytoan commented Oct 13, 2025

Description

In the iOS and Android SDK, some values are available to change the text of the process view.

CUSTOM_PAY_BUTTON_LABEL
CUSTOM_HEADER_LABEL
CUSTOM_POPUP_LABEL

i added a options parameter in the process method to be able to set them (or not).

ex :

final resultJson = await lyra.process(
        formToken,
        options: {
          'CUSTOM_PAY_BUTTON_LABEL': 'Valider',
          'CUSTOM_HEADER_LABEL': 'Montant à payer',
          'CUSTOM_POPUP_LABEL': 'Paiement en cours',
        },
      );

Type of Change

  • [ x] ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

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.

1 participant