FlutterHyperPay constructor

FlutterHyperPay({
  1. required String shopperResultUrl,
  2. required PaymentMode paymentMode,
  3. 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,
});