FlutterHyperPay constructor
FlutterHyperPay({
- required String shopperResultUrl,
- required PaymentMode paymentMode,
- required String lang,
Creates a FlutterHyperPay instance.
shopperResultUrl must match the custom URL scheme registered in your
app's manifest/Info.plist so the SDK can redirect back after payment.
paymentMode controls whether test or live credentials are used.
lang sets the UI language — use PaymentLang constants for valid values.
Implementation
FlutterHyperPay({
required this.shopperResultUrl,
required this.paymentMode,
required this.lang,
});